summaryrefslogtreecommitdiffstats
path: root/src/skel/win
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-26 14:20:12 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-26 14:20:12 +0200
commitd5a72fa597e7d0885f7a398e204c4085aff5c241 (patch)
treeb71959c19fa9b88c159ed753ff00c96e9c3b74f9 /src/skel/win
parentAdded timing to RwTextureGtaStreamRead (diff)
downloadre3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar
re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.gz
re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.bz2
re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.lz
re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.xz
re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.zst
re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.zip
Diffstat (limited to 'src/skel/win')
-rw-r--r--src/skel/win/win.cpp4
-rw-r--r--src/skel/win/win.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index fc82e51e..4da63fe6 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2162,7 +2162,7 @@ _WinMain(HINSTANCE instance,
CPad::ResetCheats();
CPad::StopPadsShaking();
- DMAudio.ChangeMusicMode(_TODOCONST(3));
+ DMAudio.ChangeMusicMode(MUSICMODE_OFF);
CTimer::Stop();
@@ -2170,7 +2170,7 @@ _WinMain(HINSTANCE instance,
{
CGame::ShutDownForRestart();
CGame::InitialiseWhenRestarting();
- DMAudio.ChangeMusicMode(_TODOCONST(1));
+ DMAudio.ChangeMusicMode(MUSICMODE_GAME);
LoadSplash(GetLevelSplashScreen(CGame::currLevel));
FrontEndMenuManager.m_bLoadingSavedGame = false;
}
diff --git a/src/skel/win/win.h b/src/skel/win/win.h
index 8c32e57d..ae2c7eec 100644
--- a/src/skel/win/win.h
+++ b/src/skel/win/win.h
@@ -90,4 +90,5 @@ void HandleExit();
#endif /* __cplusplus */
+extern DWORD &_dwOperatingSystemVersion;
#endif /* (!defined(_PLATFORM_WIN_H)) */