Mercurial > repos > blastem
diff transz80.c @ 659:759c38bf97f8
Minor Z80 core cleanup
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 01 Jan 2015 20:26:22 -0800 |
parents | b7b7a1cab44a |
children |
line wrap: on
line diff
--- a/transz80.c Thu Jan 01 20:21:20 2015 -0800 +++ b/transz80.c Thu Jan 01 20:26:22 2015 -0800 @@ -38,7 +38,7 @@ { 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 @@ *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;