From f028802fb8f77f68e5cb1f3cae3eb03462e48808 Mon Sep 17 00:00:00 2001 From: Alula Date: Wed, 18 Mar 2026 23:30:06 +0100 Subject: [PATCH] erpt: make FieldType u8 to match Nintendo --- .../include/stratosphere/erpt/erpt_ids.autogen.hpp | 2 +- .../libstratosphere/include/stratosphere/erpt/erpt_types.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libstratosphere/include/stratosphere/erpt/erpt_ids.autogen.hpp b/libraries/libstratosphere/include/stratosphere/erpt/erpt_ids.autogen.hpp index 8544cd3f6..cf7d3e40f 100644 --- a/libraries/libstratosphere/include/stratosphere/erpt/erpt_ids.autogen.hpp +++ b/libraries/libstratosphere/include/stratosphere/erpt/erpt_ids.autogen.hpp @@ -1014,4 +1014,4 @@ HANDLER(ModuleClockEnableFlags, 1032, PowerClockInfo, FieldType_U8Array, FieldFlag_None ) \ HANDLER(ModulePowerEnableFlags, 1033, PowerClockInfo, FieldType_U8Array, FieldFlag_None ) \ HANDLER(BluetoothAudioConnectionCount, 1034, BluetoothAudioInfo, FieldType_NumericU8, FieldFlag_None ) \ - HANDLER(ControllerStyleList, 1035, ConnectedControllerInfo, FieldType_U8Array, FieldFlag_None ) \ No newline at end of file + HANDLER(ControllerStyleList, 1035, ConnectedControllerInfo, FieldType_U8Array, FieldFlag_None ) diff --git a/libraries/libstratosphere/include/stratosphere/erpt/erpt_types.hpp b/libraries/libstratosphere/include/stratosphere/erpt/erpt_types.hpp index 93c68c6f3..f210ab16f 100644 --- a/libraries/libstratosphere/include/stratosphere/erpt/erpt_types.hpp +++ b/libraries/libstratosphere/include/stratosphere/erpt/erpt_types.hpp @@ -23,7 +23,7 @@ namespace ams::erpt { #define GENERATE_ENUM(NAME, ID, ...) NAME = ID, - enum FieldType { + enum FieldType: u8 { AMS_ERPT_FOREACH_FIELD_TYPE(GENERATE_ENUM) FieldType_Count, };