summaryrefslogtreecommitdiffstats
path: root/src/skel/win/win.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-06 15:38:00 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-06 15:38:00 +0200
commit70fa4ab79c331bd20b872ca4bc578248d5f42971 (patch)
tree090f3c726dce81ce3be63ffc250673dc81c35e0b /src/skel/win/win.cpp
parentfixes from master, menu helper text (diff)
downloadre3-70fa4ab79c331bd20b872ca4bc578248d5f42971.tar
re3-70fa4ab79c331bd20b872ca4bc578248d5f42971.tar.gz
re3-70fa4ab79c331bd20b872ca4bc578248d5f42971.tar.bz2
re3-70fa4ab79c331bd20b872ca4bc578248d5f42971.tar.lz
re3-70fa4ab79c331bd20b872ca4bc578248d5f42971.tar.xz
re3-70fa4ab79c331bd20b872ca4bc578248d5f42971.tar.zst
re3-70fa4ab79c331bd20b872ca4bc578248d5f42971.zip
Diffstat (limited to '')
-rw-r--r--src/skel/win/win.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 77475ca5..e70a1054 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -223,7 +223,11 @@ psCameraBeginUpdate(RwCamera *camera)
void
psCameraShowRaster(RwCamera *camera)
{
- if (FrontEndMenuManager.m_PrefsVsync)
+#ifdef LEGACY_MENU_OPTIONS
+ if (FrontEndMenuManager.m_PrefsVsync || FrontEndMenuManager.m_bMenuActive)
+#else
+ if (FrontEndMenuManager.m_PrefsFrameLimiter || FrontEndMenuManager.m_bMenuActive)
+#endif
RwCameraShowRaster(camera, PSGLOBAL(window), rwRASTERFLIPWAITVSYNC);
else
RwCameraShowRaster(camera, PSGLOBAL(window), rwRASTERFLIPDONTWAIT);
@@ -2073,7 +2077,7 @@ WinMain(HINSTANCE instance,
{
CFileMgr::SetDirMyDocuments();
- int32 gta3set = CFileMgr::OpenFile("gta3.set", "r");
+ int32 gta3set = CFileMgr::OpenFile("gta_vc.set", "r");
if ( gta3set )
{