summaryrefslogtreecommitdiff
path: root/gst.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-12-19 13:28:18 -0800
committerMichael Pavone <pavone@retrodev.com>2016-12-19 13:28:18 -0800
commit7b8127d36a9c6a824da4f1709bdee12c40c631a5 (patch)
tree33d0e6914620deaee1296f1672091c5b79793778 /gst.c
parent11861fca5815015b2afb712f328195c5f7bc231e (diff)
Mostly working changes to allow support for multiple emulated system types in main blastem program
Diffstat (limited to 'gst.c')
-rw-r--r--gst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst.c b/gst.c
index 6a27387..4a16b0b 100644
--- a/gst.c
+++ b/gst.c
@@ -434,8 +434,8 @@ uint32_t load_gst(genesis_context * gen, char * fname)
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);) {