diff blastem.c @ 971:e28f365605da

Move mouse mode and capture state to emulation context so it persists properly when switching between the menu and the game
author Michael Pavone <pavone@retrodev.com>
date Thu, 21 Apr 2016 22:08:26 -0700
parents 750995b587a0
children c6b19939da7b
line wrap: on
line diff
--- a/blastem.c	Thu Apr 21 18:48:15 2016 -0700
+++ b/blastem.c	Thu Apr 21 22:08:26 2016 -0700
@@ -878,7 +878,7 @@
 	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;