diff rf5c164.c @ 2128:b0dcf5c9f353

Fix some issues with PCM dma/CPU write conflicts
author Michael Pavone <pavone@retrodev.com>
date Sun, 13 Mar 2022 11:36:06 -0700
parents 485834c0fea7
children 62a53c052d9b
line wrap: on
line diff
--- a/rf5c164.c	Sat Mar 12 22:54:41 2022 -0800
+++ b/rf5c164.c	Sun Mar 13 11:36:06 2022 -0700
@@ -147,6 +147,8 @@
 		CHECK;
 	case 10:
 		//refresh?
+		//does refresh happen at the same rate when sounding disabled? warning in sega docs suggests maybe not
+		write_if_not_sounding(pcm);
 		CHECK;
 	case 11:
 		write_always(pcm);