From a434c2b89a2b523aaec03889116469bf4a8410cc Mon Sep 17 00:00:00 2001 From: grinvader <> Date: Tue, 13 Sep 2005 19:35:00 +0000 Subject: [PATCH] Stupid (and old) mistake successfully corrected after manual tracking, fixed bug #52, and probably lots of other sound issues upon state load... Thanks to jbo_85 for helping. --- zsnes/src/cpu/memtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsnes/src/cpu/memtable.c b/zsnes/src/cpu/memtable.c index 515f1023..397ebbf5 100644 --- a/zsnes/src/cpu/memtable.c +++ b/zsnes/src/cpu/memtable.c @@ -173,7 +173,7 @@ void repackfunct() block = DSPMem[0x6C]; DSPMem[0x6C] &= 0x7F; - if (block && 0xC0) + if (block & 0xC0) { Voice0Status = Voice1Status = Voice2Status = Voice3Status = 0; Voice4Status = Voice5Status = Voice6Status = Voice7Status = 0;