From 2f6957b97c588ca0d24f8606dea9cf096235931d Mon Sep 17 00:00:00 2001 From: Phoenix Date: Tue, 10 Sep 2024 20:06:58 +1000 Subject: [PATCH] feat(enum): add new error module entries - Added new error modules to the `ErrorModule` enum: - `Nverpt (520)` - `Am_StuckMonitor (521)` - `Pia (618)` - `Eagle (623)` - `Coral (815)` --- src/core/hle/result.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/core/hle/result.h b/src/core/hle/result.h index 8935396fd..a2a55e410 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -16,6 +16,7 @@ * chain, meaning that this doesn't always correspond to the module where the API call made is * contained. */ +enum class ErrorModule : u32 { enum class ErrorModule : u32 { Common = 0, Kernel = 1, @@ -183,6 +184,17 @@ enum class ErrorModule : u32 { WifiWebAuthApplet = 809, WhitelistedApplet = 810, ShopN = 811, + + // New entries + Nverpt = 520, + Am_StuckMonitor = 521, + Pia = 618, + Eagle = 623, + LibAppletWeb = 800, + LibAppletAuth = 809, + LibAppletLns = 810, + LibAppletShop = 811, + Coral = 815 }; /// Encapsulates a Horizon OS error code, allowing it to be separated into its constituent fields.