mirror of
https://github.com/JorjBauer/aiie.git
synced 2025-02-17 21:30:24 +00:00
better typecasting
This commit is contained in:
parent
7f65cfb64d
commit
fe237290a0
@ -156,8 +156,8 @@ AppleMMU::~AppleMMU()
|
|||||||
bool AppleMMU::Serialize(int8_t fd)
|
bool AppleMMU::Serialize(int8_t fd)
|
||||||
{
|
{
|
||||||
uint8_t buf[13] = { MMUMAGIC,
|
uint8_t buf[13] = { MMUMAGIC,
|
||||||
(switches >> 8) & 0xFF,
|
(uint8_t)((switches >> 8) & 0xFF),
|
||||||
(switches ) & 0xFF,
|
(uint8_t)((switches ) & 0xFF),
|
||||||
auxRamRead ? 1 : 0,
|
auxRamRead ? 1 : 0,
|
||||||
auxRamWrite ? 1 : 0,
|
auxRamWrite ? 1 : 0,
|
||||||
bank2 ? 1 : 0,
|
bank2 ? 1 : 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user