Reenable all sound channels on state load, removed some useless code.
This commit is contained in:
@@ -530,10 +530,8 @@ NEWSYM cachevideo
|
||||
mov byte[disableeffects],0
|
||||
mov byte[osm2dis],0
|
||||
mov byte[EmuSpeed],29
|
||||
push eax
|
||||
mov al,[snesinputdefault]
|
||||
mov [snesmouse],al
|
||||
pop eax
|
||||
mov dword[Msgptr],panickeyp
|
||||
mov eax,[MsgCount]
|
||||
mov [MessageOn],eax
|
||||
|
||||
@@ -845,6 +845,10 @@ void zst_sram_load_compressed(FILE *fp)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
extern unsigned char Voice0Disable, Voice1Disable, Voice2Disable, Voice3Disable;
|
||||
extern unsigned char Voice4Disable, Voice5Disable, Voice6Disable, Voice7Disable;
|
||||
|
||||
void stateloader (char *statename, unsigned char keycheck, unsigned char xfercheck)
|
||||
{
|
||||
extern unsigned char PauseLoad;
|
||||
@@ -938,6 +942,15 @@ void stateloader (char *statename, unsigned char keycheck, unsigned char xferche
|
||||
Msgptr = txtnfndmsg; // 'UNABLE TO LOAD STATE X.'
|
||||
}
|
||||
|
||||
Voice0Disable = 1;
|
||||
Voice1Disable = 1;
|
||||
Voice2Disable = 1;
|
||||
Voice3Disable = 1;
|
||||
Voice4Disable = 1;
|
||||
Voice5Disable = 1;
|
||||
Voice6Disable = 1;
|
||||
Voice7Disable = 1;
|
||||
|
||||
stim();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user