mirror of
https://github.com/dborth/fceugx.git
synced 2024-12-04 22:34:14 +01:00
fix PAL audio blips (thanks Tanooki16!)
This commit is contained in:
parent
7767843fd3
commit
ba9822d24e
@ -644,7 +644,11 @@ ResetVideo_Emu ()
|
||||
if (GCSettings.render == 0)
|
||||
{
|
||||
rmode = tvmodes[FCEUI_GetCurrentVidSystem(NULL, NULL)];
|
||||
UpdateSampleRate(48220);
|
||||
|
||||
if (FCEUI_GetCurrentVidSystem(NULL, NULL) == 1) // PAL
|
||||
UpdateSampleRate(48070);
|
||||
else
|
||||
UpdateSampleRate(48220);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -655,7 +659,10 @@ ResetVideo_Emu ()
|
||||
else
|
||||
ResetFbWidth(512, rmode);
|
||||
|
||||
UpdateSampleRate(48130);
|
||||
if (FCEUI_GetCurrentVidSystem(NULL, NULL) == 1) // PAL
|
||||
UpdateSampleRate(48080);
|
||||
else
|
||||
UpdateSampleRate(48130);
|
||||
}
|
||||
|
||||
SetupVideoMode(rmode); // reconfigure VI
|
||||
|
Loading…
Reference in New Issue
Block a user