summaryrefslogtreecommitdiff
path: root/z80_to_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'z80_to_x86.h')
-rw-r--r--z80_to_x86.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/z80_to_x86.h b/z80_to_x86.h
index 9f70803..dd5864b 100644
--- a/z80_to_x86.h
+++ b/z80_to_x86.h
@@ -1,3 +1,8 @@
+/*
+ Copyright 2013 Michael Pavone
+ This file is part of BlastEm.
+ BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
+*/
#ifndef Z80_TO_X86_H_
#define Z80_TO_X86_H_
#include "z80inst.h"
@@ -50,6 +55,7 @@ typedef struct {
void * system;
uint8_t ram_code_flags[(8 * 1024)/128/8];
uint32_t int_enable_cycle;
+ uint16_t pc;
} z80_context;
void translate_z80_stream(z80_context * context, uint32_t address);