spu: fix crash in loadstate with sound enabled

This commit is contained in:
zeromus 2010-04-06 18:41:19 +00:00
parent 833f4fcdb9
commit 7909a3f8c2
1 changed files with 1 additions and 0 deletions

View File

@ -1666,6 +1666,7 @@ bool spu_loadstate(EMUFILE* is, int size)
//fixup the pointers which we had are supposed to keep cached
chan.buf8 = (s8*)&MMU.MMU_MEM[1][(chan.addr>>20)&0xFF][(chan.addr & MMU.MMU_MASK[1][(chan.addr >> 20) & 0xFF])];
chan.buf16 = (s16*)chan.buf8;
}
if(version>=2) {