summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-04-28 16:51:44 +0200
committerGitHub <noreply@github.com>2020-04-28 16:51:44 +0200
commit5e19691e41e062a27b2923d8f1e15920bc4d80f6 (patch)
treecea58e05525fea254a92068b76e54d5a68f1cc8b /src/core
parentMerge pull request #3785 from ogniK5377/set-buffer-count-unit (diff)
parentstyle: Change AMs & Glues error codes to be dec instead of hex (diff)
downloadyuzu-5e19691e41e062a27b2923d8f1e15920bc4d80f6.tar
yuzu-5e19691e41e062a27b2923d8f1e15920bc4d80f6.tar.gz
yuzu-5e19691e41e062a27b2923d8f1e15920bc4d80f6.tar.bz2
yuzu-5e19691e41e062a27b2923d8f1e15920bc4d80f6.tar.lz
yuzu-5e19691e41e062a27b2923d8f1e15920bc4d80f6.tar.xz
yuzu-5e19691e41e062a27b2923d8f1e15920bc4d80f6.tar.zst
yuzu-5e19691e41e062a27b2923d8f1e15920bc4d80f6.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/am/am.cpp6
-rw-r--r--src/core/hle/service/glue/errors.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index bee4a9d3f..5695d2521 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -43,9 +43,9 @@
namespace Service::AM {
-constexpr ResultCode ERR_NO_DATA_IN_CHANNEL{ErrorModule::AM, 0x2};
-constexpr ResultCode ERR_NO_MESSAGES{ErrorModule::AM, 0x3};
-constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 0x1F7};
+constexpr ResultCode ERR_NO_DATA_IN_CHANNEL{ErrorModule::AM, 2};
+constexpr ResultCode ERR_NO_MESSAGES{ErrorModule::AM, 3};
+constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 503};
enum class LaunchParameterKind : u32 {
ApplicationSpecific = 1,
diff --git a/src/core/hle/service/glue/errors.h b/src/core/hle/service/glue/errors.h
index c2874c585..f6647f724 100644
--- a/src/core/hle/service/glue/errors.h
+++ b/src/core/hle/service/glue/errors.h
@@ -8,9 +8,9 @@
namespace Service::Glue {
-constexpr ResultCode ERR_INVALID_RESOURCE{ErrorModule::ARP, 0x1E};
-constexpr ResultCode ERR_INVALID_PROCESS_ID{ErrorModule::ARP, 0x1F};
-constexpr ResultCode ERR_INVALID_ACCESS{ErrorModule::ARP, 0x2A};
-constexpr ResultCode ERR_NOT_REGISTERED{ErrorModule::ARP, 0x66};
+constexpr ResultCode ERR_INVALID_RESOURCE{ErrorModule::ARP, 30};
+constexpr ResultCode ERR_INVALID_PROCESS_ID{ErrorModule::ARP, 31};
+constexpr ResultCode ERR_INVALID_ACCESS{ErrorModule::ARP, 42};
+constexpr ResultCode ERR_NOT_REGISTERED{ErrorModule::ARP, 102};
} // namespace Service::Glue