diff xband.c @ 1446:adb62000d296

Pass the correct context pointer to write handlers in mapper deserialize functions
author Michael Pavone <pavone@retrodev.com>
date Mon, 28 Aug 2017 22:41:02 -0700
parents 14a2834d010c
children 17c1c30e0d6f
line wrap: on
line diff
--- a/xband.c	Mon Aug 28 22:40:33 2017 -0700
+++ b/xband.c	Mon Aug 28 22:41:02 2017 -0700
@@ -308,7 +308,7 @@
 	update_control(gen, load_int8(buf));
 	for (int i = 0; i < XBAND_REGS; i++)
 	{
-		xband_write_b(0x3BC001 + i*2, gen, load_int8(buf));
+		xband_write_b(0x3BC001 + i*2, gen->m68k, load_int8(buf));
 	}
 }