mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 03:22:30 +02: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 last_time_slice;
|
||||
u8 device_number;
|
||||
int device_number;
|
||||
u8 cmd;
|
||||
bool booted;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user