From 4c51a406173066bbc139c41ea39b8886ce299ebb Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 28 Mar 2019 20:38:39 -0700 Subject: [PATCH] results: add vi results --- include/stratosphere/results.hpp | 1 + include/stratosphere/results/vi_results.hpp | 24 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 include/stratosphere/results/vi_results.hpp diff --git a/include/stratosphere/results.hpp b/include/stratosphere/results.hpp index fdb5a2fc..aa080101 100644 --- a/include/stratosphere/results.hpp +++ b/include/stratosphere/results.hpp @@ -29,6 +29,7 @@ #include "results/pm_results.hpp" #include "results/sf_results.hpp" #include "results/sm_results.hpp" +#include "results/vi_results.hpp" /* Unofficial. */ #include "results/ams_results.hpp" diff --git a/include/stratosphere/results/vi_results.hpp b/include/stratosphere/results/vi_results.hpp new file mode 100644 index 00000000..d8ac8c88 --- /dev/null +++ b/include/stratosphere/results/vi_results.hpp @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2018 Atmosphère-NX + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once +#include + +static constexpr u32 Module_Vi = 114; + +static constexpr Result ResultViOperationFailed = MAKERESULT(Module_Vi, 1); +static constexpr Result ResultViNotSupported = MAKERESULT(Module_Vi, 6); +static constexpr Result ResultViNotFound = MAKERESULT(Module_Vi, 7);