summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-01 20:39:15 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-01 20:39:15 +0200
commit3988fec6e72a7ac7172cc5b709bd84ca963c17ba (patch)
tree3fc5f11364e764b1c990ccf7cf0ea4ebbbb8cebf /src/core
parentzero out work_buff before writing padding in save (diff)
downloadre3-3988fec6e72a7ac7172cc5b709bd84ca963c17ba.tar
re3-3988fec6e72a7ac7172cc5b709bd84ca963c17ba.tar.gz
re3-3988fec6e72a7ac7172cc5b709bd84ca963c17ba.tar.bz2
re3-3988fec6e72a7ac7172cc5b709bd84ca963c17ba.tar.lz
re3-3988fec6e72a7ac7172cc5b709bd84ca963c17ba.tar.xz
re3-3988fec6e72a7ac7172cc5b709bd84ca963c17ba.tar.zst
re3-3988fec6e72a7ac7172cc5b709bd84ca963c17ba.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/MenuScreensCustom.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/MenuScreensCustom.cpp b/src/core/MenuScreensCustom.cpp
index 0534e34a..49bb33f8 100644
--- a/src/core/MenuScreensCustom.cpp
+++ b/src/core/MenuScreensCustom.cpp
@@ -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);
}