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:
SarahW 2016-04-20 21:39:41 +01:00
commit c81a91fd72
52 changed files with 1494 additions and 1408 deletions

View file

@ -124,7 +124,7 @@ void ega_out(uint16_t addr, uint8_t val, void *p)
}
break;
case 0x3d4:
pclog("Write 3d4 %02X %04X:%04X\n", val, CS, pc);
pclog("Write 3d4 %02X %04X:%04X\n", val, CS, cpu_state.pc);
ega->crtcreg = val & 31;
return;
case 0x3d5: