Fixed several small bugs; among other things, the emulator now compiles without warnings when using DEBUG=y as well.

This commit is contained in:
OBattler
2017-08-23 17:44:57 +02:00
parent 963459a9ef
commit 2da64b5f55
21 changed files with 53 additions and 54 deletions

View File

@@ -390,12 +390,14 @@ static __inline uint16_t geteaw()
return readmemw(easeg,cpu_state.eaaddr);
}
#if 0
static __inline uint16_t geteaw2()
{
if (cpu_mod == 3)
return cpu_state.regs[cpu_rm].w;
return readmemw(easeg,(cpu_state.eaaddr+2)&0xFFFF);
}
#endif
static __inline void seteab(uint8_t val)
{