diff genesis.c @ 2194:01ff005b08f6

Very rudimentary support for Game Gear VDP emulation
author Michael Pavone <pavone@retrodev.com>
date Sun, 21 Aug 2022 22:29:47 -0700
parents 408fb8a7e990
children eaaf28af3c94
line wrap: on
line diff
--- a/genesis.c	Sun Aug 21 16:41:22 2022 -0700
+++ b/genesis.c	Sun Aug 21 22:29:47 2022 -0700
@@ -1873,7 +1873,7 @@
 	}
 
 	uint8_t max_vsram = !strcmp(tern_find_ptr_default(model, "vsram", "40"), "64");
-	gen->vdp = init_vdp_context(gen->version_reg & 0x40, max_vsram);
+	gen->vdp = init_vdp_context(gen->version_reg & 0x40, max_vsram, VDP_GENESIS);
 	gen->vdp->system = &gen->header;
 	gen->frame_end = vdp_cycles_to_frame_end(gen->vdp);
 	char * config_cycles = tern_find_path(config, "clocks\0max_cycles\0", TVAL_PTR).ptrval;