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:
Lioncash 2017-03-13 13:30:00 -04:00
parent 8035270aa8
commit 70b1933661
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ private:
u64 time_cmd_sent;
u64 last_time_slice;
u8 device_number;
int device_number;
u8 cmd;
bool booted;
};