summaryrefslogtreecommitdiff
path: root/transz80.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-01-01 20:26:22 -0800
committerMichael Pavone <pavone@retrodev.com>2015-01-01 20:26:22 -0800
commitd41ae43228509a1a67446492b844013cf1e68c36 (patch)
treed944a6076ee2030915a57c28fbd2f3cce060e0d5 /transz80.c
parent983a2089cf49d0f6995fb30ca2327d239f21ebb4 (diff)
Minor Z80 core cleanup
Diffstat (limited to 'transz80.c')
-rw-r--r--transz80.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/transz80.c b/transz80.c
index a006a92..eec1736 100644
--- a/transz80.c
+++ b/transz80.c
@@ -38,7 +38,7 @@ int main(int argc, char ** argv)
{
long filesize;
uint8_t *filebuf;
- x86_z80_options opts;
+ z80_options opts;
z80_context context;
if (argc < 2) {
fputs("usage: transz80 zrom [cartrom]\n", stderr);
@@ -70,7 +70,7 @@ int main(int argc, char ** argv)
*cur = (*cur >> 8) | (*cur << 8);
}
}
- init_x86_z80_opts(&opts);
+ init_z80_opts(&opts);
init_z80_context(&context, &opts);
//Z80 RAM
context.mem_pointers[0] = z80_ram;