diff options
Diffstat (limited to 'z80.c')
-rw-r--r-- | z80.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -185,6 +185,12 @@ void Z80SetPC(Z80 *cpu,Z80Word PC) } +Z80Word Z80GetPC(Z80 *cpu) +{ + return cpu->PC; +} + + void Z80ResetCycles(Z80 *cpu, Z80Val cycles) { cpu->cycle=cycles; |