mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 12:19:00 +00:00
Fix sound of water when changing MSAA or windowed/fullscreen mode
This commit is contained in:
parent
2d38eb923d
commit
3988fec6e7
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "ModelInfo.h"
|
||||
#include "Pad.h"
|
||||
#include "ControllerConfig.h"
|
||||
#include "DMAudio.h"
|
||||
|
||||
// Menu screens array is at the bottom of the file.
|
||||
|
||||
|
@ -194,6 +195,8 @@ void MultiSamplingButtonPress(int8 action) {
|
|||
if (FrontEndMenuManager.m_nDisplayMSAALevel != FrontEndMenuManager.m_nPrefsMSAALevel) {
|
||||
FrontEndMenuManager.m_nPrefsMSAALevel = FrontEndMenuManager.m_nDisplayMSAALevel;
|
||||
_psSelectScreenVM(FrontEndMenuManager.m_nPrefsVideoMode);
|
||||
DMAudio.ChangeMusicMode(MUSICMODE_FRONTEND);
|
||||
DMAudio.Service();
|
||||
FrontEndMenuManager.SetHelperText(0);
|
||||
FrontEndMenuManager.SaveSettings();
|
||||
}
|
||||
|
@ -255,6 +258,8 @@ const char* screenModes[] = { "FED_FLS", "FED_WND" };
|
|||
void ScreenModeAfterChange(int8 before, int8 after)
|
||||
{
|
||||
_psSelectScreenVM(FrontEndMenuManager.m_nPrefsVideoMode); // apply same resolution
|
||||
DMAudio.ChangeMusicMode(MUSICMODE_FRONTEND);
|
||||
DMAudio.Service();
|
||||
FrontEndMenuManager.SetHelperText(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue