diff options
author | aap <aap@papnet.eu> | 2020-04-25 12:16:50 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-25 12:16:50 +0200 |
commit | f15a5ac0f9e5b9ae4144f58f95f74c498ea9a7f3 (patch) | |
tree | 954ce06142f49daeb3e4b0abfea45678117d2081 /src/extras | |
parent | Merge branch 'master' of github.com:gtamodding/re3 (diff) | |
download | re3-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 '')
-rw-r--r-- | src/extras/debugmenu.h | 4 |
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); +} |