X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fsound%2Fsound.c;h=8bec0ba593f88bd3179c8a6020536d38bf5b59ff;hb=9a8ffeeeea54301c5289fd510aece552175ce13d;hp=32f2295e0d598daa605691a234b372a751180203;hpb=c77ca79e899d9cff96f90a2c5b6a866cf02ed47e;p=picodrive.git diff --git a/Pico/sound/sound.c b/Pico/sound/sound.c index 32f2295..8bec0ba 100644 --- a/Pico/sound/sound.c +++ b/Pico/sound/sound.c @@ -106,9 +106,7 @@ PICO_INTERNAL void sound_reset(void) // also clear the internal registers+addr line ym2612_regs = YM2612GetRegs(); memset(ym2612_regs, 0, 0x200+4); - // setting these to 0 might confuse timing code, - // so better set to something like this instead - z80startCycle = z80stopCycle = 0x01000000; + z80startCycle = z80stopCycle = 0; sound_rerate(0); }