From 37141ac197eaefeae9dada0bcc1c429ff584df44 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 1 Sep 2006 23:48:25 +0000 Subject: GEMMA largely working. Fixed broken expressions with white space. --- z80.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'z80.c') 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; -- cgit v1.2.3