mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-14 16:29:21 +01:00
SI_DeviceGBA: Store the device number as an int
This prevents truncation when assigning to this member in the constructor. This isn't size-critical code, so opting for the more straightforward assignment is fine here.
This commit is contained in:
parent
8035270aa8
commit
70b1933661
@ -38,7 +38,7 @@ private:
|
|||||||
|
|
||||||
u64 time_cmd_sent;
|
u64 time_cmd_sent;
|
||||||
u64 last_time_slice;
|
u64 last_time_slice;
|
||||||
u8 device_number;
|
int device_number;
|
||||||
u8 cmd;
|
u8 cmd;
|
||||||
bool booted;
|
bool booted;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user