summaryrefslogtreecommitdiff
path: root/blastem.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-21 22:08:26 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-21 22:08:26 -0700
commitd5c369a7c040e96e2067ebda45d9e1b9ad018e63 (patch)
tree815e28c01fd1ca72fabc06ea45811a7be3287ab2 /blastem.c
parent19fe07ac64063803e053a111c3a6b5f47bb3cffe (diff)
Move mouse mode and capture state to emulation context so it persists properly when switching between the menu and the game
Diffstat (limited to 'blastem.c')
-rw-r--r--blastem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blastem.c b/blastem.c
index 7676eda..ecf8da0 100644
--- a/blastem.c
+++ b/blastem.c
@@ -878,7 +878,7 @@ genesis_context *alloc_init_genesis(rom_info *rom, int fps, uint32_t ym_opts)
gen->cart = cart;
gen->work_ram = ram;
gen->zram = z80_ram;
- setup_io_devices(config, rom, gen->ports);
+ setup_io_devices(config, rom, gen);
gen->save_type = rom->save_type;
gen->save_type = rom->save_type;