summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-02 10:26:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-02 10:26:26 +0200
commit5a916c16b7e749136d4ae856cd277cd30d6fba4a (patch)
tree1110d5d437be0cb6b9df071fd6d9e33bf9eee13c /src/core
parentMerge remote-tracking branch 'upstream/master' (diff)
parentupdate librw (vsynch) (diff)
downloadre3-5a916c16b7e749136d4ae856cd277cd30d6fba4a.tar
re3-5a916c16b7e749136d4ae856cd277cd30d6fba4a.tar.gz
re3-5a916c16b7e749136d4ae856cd277cd30d6fba4a.tar.bz2
re3-5a916c16b7e749136d4ae856cd277cd30d6fba4a.tar.lz
re3-5a916c16b7e749136d4ae856cd277cd30d6fba4a.tar.xz
re3-5a916c16b7e749136d4ae856cd277cd30d6fba4a.tar.zst
re3-5a916c16b7e749136d4ae856cd277cd30d6fba4a.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/re3.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 7bb18688..5ef3c036 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -26,6 +26,7 @@
#include "PlayerPed.h"
#include "Radar.h"
#include "debugmenu.h"
+#include "Frontend.h"
#include <list>
@@ -325,6 +326,9 @@ DebugMenuPopulate(void)
#ifdef LIBRW
DebugMenuAddVarBool8("Render", "PS2 Alpha test Emu", &gPS2alphaTest, nil);
#endif
+ DebugMenuAddVarBool8("Render", "Frame limiter", &FrontEndMenuManager.m_PrefsFrameLimiter, nil);
+ DebugMenuAddVarBool8("Render", "VSynch", &FrontEndMenuManager.m_PrefsVsync, nil);
+ DebugMenuAddVar("Render", "Max FPS", &RsGlobal.maxFPS, nil, 1, 1, 1000, nil);
DebugMenuAddVarBool8("Debug", "Draw hud", &CHud::m_Wants_To_Draw_Hud, nil);
DebugMenuAddVarBool8("Debug", "Edit on", &CSceneEdit::m_bEditOn, nil);