better typecasting

This commit is contained in:
Jorj Bauer 2020-07-04 07:38:49 -04:00
parent 7f65cfb64d
commit fe237290a0

View File

@ -156,8 +156,8 @@ AppleMMU::~AppleMMU()
bool AppleMMU::Serialize(int8_t fd)
{
uint8_t buf[13] = { MMUMAGIC,
(switches >> 8) & 0xFF,
(switches ) & 0xFF,
(uint8_t)((switches >> 8) & 0xFF),
(uint8_t)((switches ) & 0xFF),
auxRamRead ? 1 : 0,
auxRamWrite ? 1 : 0,
bank2 ? 1 : 0,