From 7b8127d36a9c6a824da4f1709bdee12c40c631a5 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 19 Dec 2016 13:28:18 -0800 Subject: Mostly working changes to allow support for multiple emulated system types in main blastem program --- gst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst.c') 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);) { -- cgit v1.2.3