Mercurial > repos > blastem
diff gst.c @ 1111:2eb54e24914e
Mostly working changes to allow support for multiple emulated system types in main blastem program
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 19 Dec 2016 13:28:18 -0800 |
parents | 22e87b739ad6 |
children | 7ab7c8fb34ba |
line wrap: on
line diff
--- a/gst.c Wed Dec 14 23:27:42 2016 -0800 +++ b/gst.c Mon Dec 19 13:28:18 2016 -0800 @@ -434,8 +434,8 @@ if (!z80_load_gst(gen->z80, gstfile)) { goto error_close; } - gen->ports[0].control = 0x40; - gen->ports[1].control = 0x40; + gen->io.ports[0].control = 0x40; + gen->io.ports[1].control = 0x40; fseek(gstfile, GST_68K_RAM, SEEK_SET); for (int i = 0; i < (32*1024);) {