summaryrefslogtreecommitdiff
path: root/z80.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-09-01 23:48:25 +0000
committerIan C <ianc@noddybox.co.uk>2006-09-01 23:48:25 +0000
commit37141ac197eaefeae9dada0bcc1c429ff584df44 (patch)
tree6bd93dbf3735d22e9dadb9d41ae1c68b980d0c0e /z80.c
parent025fbd0c161c8f528e20f034d84ad986a4ebef36 (diff)
GEMMA largely working. Fixed broken expressions with white space.
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 a974c40..898b94b 100644
--- a/z80.c
+++ b/z80.c
@@ -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;