summaryrefslogtreecommitdiff
path: root/z80.h
diff options
context:
space:
mode:
Diffstat (limited to 'z80.h')
-rw-r--r--z80.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/z80.h b/z80.h
index 5ac28b7..9683e3f 100644
--- a/z80.h
+++ b/z80.h
@@ -179,6 +179,11 @@ void Z80Reset(Z80 *cpu);
void Z80SetPC(Z80 *cpu, Z80Word PC);
+/* Gets the PC
+*/
+Z80Word Z80GetPC(Z80 *cpu);
+
+
/* Sets the cycle count to the specified count
*/
void Z80ResetCycles(Z80 *cpu, Z80Val cycles);