diff vdp.h @ 2236:c149c929361c

Fix color bug when switching between Game Gear and other Sega systems
author Michael Pavone <pavone@retrodev.com>
date Tue, 13 Sep 2022 20:18:03 -0700
parents eaaf28af3c94
children 0d1d5dccdd28
line wrap: on
line diff
--- a/vdp.h	Tue Sep 13 20:08:26 2022 -0700
+++ b/vdp.h	Tue Sep 13 20:18:03 2022 -0700
@@ -256,6 +256,7 @@
 	uint8_t        pushed_frame;
 	uint8_t        type;
 	uint8_t        cram_latch;
+	int32_t        color_map[1 << 12];
 	uint8_t        vdpmem[];
 } vdp_context;