summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/applet_error.cpp
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2024-01-18 22:39:15 +0100
committerLiam <byteslice@airmail.cc>2024-01-25 22:42:06 +0100
commit54372fdff5fd982b4ac08315abcd42d81683b00d (patch)
tree3c9ad14c965a00a0fb12bfe850c2b5373e4099a0 /src/core/hle/service/am/applets/applet_error.cpp
parentfs/errors: Unify naming of result codes (diff)
downloadyuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar
yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.gz
yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.bz2
yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.lz
yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.xz
yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.zst
yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.zip
Diffstat (limited to 'src/core/hle/service/am/applets/applet_error.cpp')
-rw-r--r--src/core/hle/service/am/applets/applet_error.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/am/applets/applet_error.cpp b/src/core/hle/service/am/applets/applet_error.cpp
index 5d17c353f..084bc138c 100644
--- a/src/core/hle/service/am/applets/applet_error.cpp
+++ b/src/core/hle/service/am/applets/applet_error.cpp
@@ -27,8 +27,8 @@ struct ErrorCode {
static constexpr ErrorCode FromResult(Result result) {
return {
- .error_category{2000 + static_cast<u32>(result.module.Value())},
- .error_number{result.description.Value()},
+ .error_category{2000 + static_cast<u32>(result.GetModule())},
+ .error_number{result.GetDescription()},
};
}