diff genesis.c @ 2466:b5640ac9aea9

Initial stab at PCM/ADPCM support in YMZ263B emulation
author Michael Pavone <pavone@retrodev.com>
date Sat, 24 Feb 2024 20:41:02 -0800
parents a4f8fa24764b
children aaf7bb58ffca
line wrap: on
line diff
--- a/genesis.c	Sat Feb 24 11:53:44 2024 -0800
+++ b/genesis.c	Sat Feb 24 20:41:02 2024 -0800
@@ -3180,7 +3180,7 @@
 		//This divider is just a guess, PCB diagram in MAME shows no other crystal
 		//Datasheet says the typical clock is 16.9344 MHz
 		//Master clock / 3 is 17.897725 MHz which is reasonably close
-		ymz263b_init(gen->ymz, 3);
+		ymz263b_init(gen->ymz, gen->master_clock, 3);
 	}
 	
 	gen->work_ram = calloc(2, RAM_WORDS);