summaryrefslogtreecommitdiff
path: root/z80.c
diff options
context:
space:
mode:
Diffstat (limited to 'z80.c')
-rw-r--r--z80.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/z80.c b/z80.c
index cd2371a..a974c40 100644
--- a/z80.c
+++ b/z80.c
@@ -179,6 +179,12 @@ void Z80Reset(Z80 *cpu)
}
+void Z80SetPC(Z80 *cpu,Z80Word PC)
+{
+ cpu->PC=PC;
+}
+
+
void Z80ResetCycles(Z80 *cpu, Z80Val cycles)
{
cpu->cycle=cycles;