summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-24 01:59:30 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-24 02:05:48 +0200
commit4870d9a31be6302037eb7ddcf0b99ea25ebccabc (patch)
tree51090b47226f961387b2aa5969b133d23d9b4f5e /src/core/Game.cpp
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.gz
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.bz2
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.lz
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.xz
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.zst
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.zip
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index 437bd5ec..0a4e7d87 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -541,7 +541,14 @@ void CGame::InitialiseWhenRestarting(void)
CTimer::Initialise();
CSprite2d::SetRecipNearClip();
-
+
+ if (b_FoundRecentSavedGameWantToLoad || FrontEndMenuManager.m_bWantToLoad)
+ {
+ LoadSplash("splash1");
+ if (FrontEndMenuManager.m_bWantToLoad)
+ FrontEndMenuManager.MessageScreen("FELD_WR", true);
+ }
+
b_FoundRecentSavedGameWantToLoad = false;
TheCamera.Init();
@@ -667,14 +674,8 @@ void CGame::Process(void)
void
CGame::InitAfterFocusLoss()
{
- /*
- byte_869656 = byte_86969D;
- result = cDMAudio::SetCurrent3DProvider(byte_86969D);
- if ( !bGameStarted && !bMenuVisible )
- byte_869642 = 1;
- */
-
- //cDMAudio::SetCurrent3DProvider( ? ? ? );
+ FrontEndMenuManager.m_nPrefsAudio3DProviderIndex = FrontEndMenuManager.m_lastWorking3DAudioProvider;
+ DMAudio.SetCurrent3DProvider(FrontEndMenuManager.m_lastWorking3DAudioProvider);
if (!FrontEndMenuManager.m_bGameNotLoaded && !FrontEndMenuManager.m_bMenuActive)
FrontEndMenuManager.m_bStartUpFrontEndRequested = true;