core: hidbus: Fix BusType size

This commit is contained in:
Narr the Reg
2023-02-24 21:22:27 -06:00
parent ca8a804a3c
commit 5e4ea04a64
2 changed files with 15 additions and 15 deletions

View File

@ -41,7 +41,7 @@ private:
};
// This is nn::hidbus::BusType
enum class BusType : u8 {
enum class BusType : u32 {
LeftJoyRail,
RightJoyRail,
InternalBus, // Lark microphone
@ -54,7 +54,7 @@ private:
u32 abstracted_pad_id;
u8 internal_index;
u8 player_number;
BusType bus_type;
u8 bus_type_id;
bool is_valid;
};
static_assert(sizeof(BusHandle) == 0x8, "BusHandle is an invalid size");