games/gb: crash and audio fix
This commit is contained in:
parent
3b9b7a6ab8
commit
83e3b1ce1a
2 changed files with 2 additions and 0 deletions
|
@ -170,6 +170,7 @@ dosample(short *smp)
|
|||
ch4sr |= k;
|
||||
ch4c = 0;
|
||||
}
|
||||
ch4c++;
|
||||
if(ch4sr & 1)
|
||||
ch4s = -1;
|
||||
else
|
||||
|
|
|
@ -81,6 +81,7 @@ loadstate(char *file)
|
|||
clock = get32();
|
||||
ppuclock = get32();
|
||||
divclock = get32();
|
||||
timerclock = get32();
|
||||
timerfreq = get32();
|
||||
timer = get32();
|
||||
rombank = get32();
|
||||
|
|
Loading…
Reference in a new issue