mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-05 21:38:17 +01:00
fix PAL sound stuttering (Issue 101), multiple snapshots now work (Issues 90/99)
This commit is contained in:
parent
f30e8af9e9
commit
e5aad8b802
@ -261,7 +261,7 @@ int main(int argc, char *argv[])
|
||||
cleanSFMDATA(); // clear state data
|
||||
|
||||
FCEUI_SetSoundQuality(1); // 0 - low, 1 - high, 2 - high (alt.)
|
||||
FCEUI_SetVidSystem(GCSettings.timing); // causes a small 'pop' in the audio
|
||||
int currentTiming = 0;
|
||||
|
||||
while (1) // main loop
|
||||
{
|
||||
@ -277,6 +277,9 @@ int main(int argc, char *argv[])
|
||||
else
|
||||
MainMenu(MENU_GAME);
|
||||
|
||||
if(currentTiming != GCSettings.timing)
|
||||
FCEUI_SetVidSystem(GCSettings.timing); // causes a small 'pop' in the audio
|
||||
|
||||
videoReset = -1;
|
||||
currentMode = GCSettings.render;
|
||||
ConfigRequested = 0;
|
||||
|
@ -32,9 +32,9 @@ enum {
|
||||
};
|
||||
|
||||
enum {
|
||||
FILE_ROM,
|
||||
FILE_RAM,
|
||||
FILE_STATE,
|
||||
FILE_ROM,
|
||||
FILE_FDSBIOS,
|
||||
FILE_CHEAT,
|
||||
FILE_PREF
|
||||
|
@ -312,8 +312,8 @@ void GuiSaveBrowser::Update(GuiTrigger * t)
|
||||
{
|
||||
saveDate[0]->SetText(NULL);
|
||||
saveDate[1]->SetText(NULL);
|
||||
saveTime[0]->SetText("New SRAM");
|
||||
saveTime[1]->SetText("New Snapshot");
|
||||
saveTime[0]->SetText("New RAM");
|
||||
saveTime[1]->SetText("New State");
|
||||
saveType[0]->SetText(NULL);
|
||||
saveType[1]->SetText(NULL);
|
||||
savePreviewImg[0]->SetImage(gameSaveBlank);
|
||||
|
@ -2876,7 +2876,6 @@ static int MenuSettingsVideo()
|
||||
|
||||
case 4: // timing
|
||||
GCSettings.timing ^= 1;
|
||||
FCEUI_SetVidSystem(GCSettings.timing); // causes a small 'pop' in the audio
|
||||
break;
|
||||
|
||||
case 5:
|
||||
|
Loading…
Reference in New Issue
Block a user