Moved integer registers, PC and flags_* variables into new cpu_state structure. Reduces recompiled code size slightly, small speedup (1-3%).
This commit is contained in:
parent
1fe6233d4c
commit
c81a91fd72
52 changed files with 1494 additions and 1408 deletions
|
|
@ -15,7 +15,7 @@ void resetmcr()
|
|||
|
||||
void writemcr(uint16_t addr, uint8_t val)
|
||||
{
|
||||
printf("Write MCR %04X %02X %04X:%04X\n",addr,val,CS,pc);
|
||||
printf("Write MCR %04X %02X %04X:%04X\n",addr,val,CS,cpu_state.pc);
|
||||
switch (addr)
|
||||
{
|
||||
case 0x22:
|
||||
|
|
|
|||
Loading…
Reference in a new issue