summaryrefslogtreecommitdiffstats
path: root/src/extras
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-25 12:16:50 +0200
committeraap <aap@papnet.eu>2020-04-25 12:16:50 +0200
commitf15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3 (patch)
tree954ce06142f49daeb3e4b0abfea45678117d2081 /src/extras
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
downloadre3-f15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3.tar
re3-f15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3.tar.gz
re3-f15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3.tar.bz2
re3-f15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3.tar.lz
re3-f15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3.tar.xz
re3-f15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3.tar.zst
re3-f15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3.zip
Diffstat (limited to 'src/extras')
-rw-r--r--src/extras/debugmenu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/extras/debugmenu.h b/src/extras/debugmenu.h
index 3ef8c742..462b59c4 100644
--- a/src/extras/debugmenu.h
+++ b/src/extras/debugmenu.h
@@ -80,3 +80,7 @@ inline DebugMenuEntry *DebugMenuAddVarBool8(const char *path, const char *name,
DebugMenuEntrySetWrap(e, true);
return e;
}
+inline DebugMenuEntry *DebugMenuAddVarBool8(const char *path, const char *name, bool *ptr, TriggerFunc triggerFunc)
+{
+ return DebugMenuAddVarBool8(path, name, (int8_t*)ptr, triggerFunc);
+}