Fixed compile error when asc emu is not enabled.

This commit is contained in:
Dan Sumorok 2013-06-19 19:09:40 -04:00
parent 9aec39d3cb
commit e08090095f

View File

@ -166,11 +166,11 @@ static __inline__ uae_u32 get_word(uaecptr addr)
static __inline__ uae_u32 get_byte(uaecptr addr) static __inline__ uae_u32 get_byte(uaecptr addr)
{ {
#ifdef ENABLE_ASC_EMU #ifdef ENABLE_ASC_EMU
uae_u8 * const m = (uae_u8 *)do_get_real_address(addr);
if(addr & 0x40000000) { if(addr & 0x40000000) {
return io_read(addr, 8); return io_read(addr, 8);
} }
#endif #endif
uae_u8 * const m = (uae_u8 *)do_get_real_address(addr);
return do_get_mem_byte(m); return do_get_mem_byte(m);
} }
static __inline__ void put_long(uaecptr addr, uae_u32 l) static __inline__ void put_long(uaecptr addr, uae_u32 l)