summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-02-25 04:22:27 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-02-25 04:22:27 +0100
commit5e4ea04a64dacd310267417a52e4c4960cd3f269 (patch)
treee925370e2f27a2c7e56777e883ffff431ca431ad /src/core/hle/service/hid/hidbus.h
parentMerge pull request #9842 from german77/proper_real_mouse (diff)
downloadyuzu-5e4ea04a64dacd310267417a52e4c4960cd3f269.tar
yuzu-5e4ea04a64dacd310267417a52e4c4960cd3f269.tar.gz
yuzu-5e4ea04a64dacd310267417a52e4c4960cd3f269.tar.bz2
yuzu-5e4ea04a64dacd310267417a52e4c4960cd3f269.tar.lz
yuzu-5e4ea04a64dacd310267417a52e4c4960cd3f269.tar.xz
yuzu-5e4ea04a64dacd310267417a52e4c4960cd3f269.tar.zst
yuzu-5e4ea04a64dacd310267417a52e4c4960cd3f269.zip
Diffstat (limited to 'src/core/hle/service/hid/hidbus.h')
-rw-r--r--src/core/hle/service/hid/hidbus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hidbus.h b/src/core/hle/service/hid/hidbus.h
index 8c687f678..91c99b01f 100644
--- a/src/core/hle/service/hid/hidbus.h
+++ b/src/core/hle/service/hid/hidbus.h
@@ -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");