From d5c369a7c040e96e2067ebda45d9e1b9ad018e63 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Thu, 21 Apr 2016 22:08:26 -0700 Subject: Move mouse mode and capture state to emulation context so it persists properly when switching between the menu and the game --- blastem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blastem.c') 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; -- cgit v1.2.3