summaryrefslogtreecommitdiff
path: root/z80.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-08-30 22:24:41 +0000
committerIan C <ianc@noddybox.co.uk>2006-08-30 22:24:41 +0000
commitc1d4cc4739583f906b639daf3bd9384dd791530e (patch)
tree27f471459ec61067210883ff21396d0bc14a7fdc /z80.c
parentcb4cd60cbce11439b0e0529df20e671e5b49b6f1 (diff)
Development checkin
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;