mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Fixed compile error when asc emu is not enabled.
This commit is contained in:
parent
9aec39d3cb
commit
e08090095f
@ -166,11 +166,11 @@ static __inline__ uae_u32 get_word(uaecptr addr)
|
||||
static __inline__ uae_u32 get_byte(uaecptr addr)
|
||||
{
|
||||
#ifdef ENABLE_ASC_EMU
|
||||
uae_u8 * const m = (uae_u8 *)do_get_real_address(addr);
|
||||
if(addr & 0x40000000) {
|
||||
return io_read(addr, 8);
|
||||
}
|
||||
#endif
|
||||
uae_u8 * const m = (uae_u8 *)do_get_real_address(addr);
|
||||
return do_get_mem_byte(m);
|
||||
}
|
||||
static __inline__ void put_long(uaecptr addr, uae_u32 l)
|
||||
|
Loading…
Reference in New Issue
Block a user