summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar David Marcec2020-04-29 00:49:49 +1000
committerGravatar David Marcec2020-04-29 00:49:49 +1000
commit0f6064e5c97a40294c1682220ec5c773941827bf (patch)
treecea58e05525fea254a92068b76e54d5a68f1cc8b /src
parentMerge pull request #3785 from ogniK5377/set-buffer-count-unit (diff)
downloadyuzu-0f6064e5c97a40294c1682220ec5c773941827bf.tar.gz
yuzu-0f6064e5c97a40294c1682220ec5c773941827bf.tar.xz
yuzu-0f6064e5c97a40294c1682220ec5c773941827bf.zip
style: Change AMs & Glues error codes to be dec instead of hex
Consistency for the rest of the error codes in the codebase
Diffstat (limited to 'src')
-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 @@
43 43
44namespace Service::AM { 44namespace Service::AM {
45 45
46constexpr ResultCode ERR_NO_DATA_IN_CHANNEL{ErrorModule::AM, 0x2}; 46constexpr ResultCode ERR_NO_DATA_IN_CHANNEL{ErrorModule::AM, 2};
47constexpr ResultCode ERR_NO_MESSAGES{ErrorModule::AM, 0x3}; 47constexpr ResultCode ERR_NO_MESSAGES{ErrorModule::AM, 3};
48constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 0x1F7}; 48constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 503};
49 49
50enum class LaunchParameterKind : u32 { 50enum class LaunchParameterKind : u32 {
51 ApplicationSpecific = 1, 51 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 @@
8 8
9namespace Service::Glue { 9namespace Service::Glue {
10 10
11constexpr ResultCode ERR_INVALID_RESOURCE{ErrorModule::ARP, 0x1E}; 11constexpr ResultCode ERR_INVALID_RESOURCE{ErrorModule::ARP, 30};
12constexpr ResultCode ERR_INVALID_PROCESS_ID{ErrorModule::ARP, 0x1F}; 12constexpr ResultCode ERR_INVALID_PROCESS_ID{ErrorModule::ARP, 31};
13constexpr ResultCode ERR_INVALID_ACCESS{ErrorModule::ARP, 0x2A}; 13constexpr ResultCode ERR_INVALID_ACCESS{ErrorModule::ARP, 42};
14constexpr ResultCode ERR_NOT_REGISTERED{ErrorModule::ARP, 0x66}; 14constexpr ResultCode ERR_NOT_REGISTERED{ErrorModule::ARP, 102};
15 15
16} // namespace Service::Glue 16} // namespace Service::Glue