summaryrefslogtreecommitdiffstats
path: root/src/extras/debugmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/extras/debugmenu.h')
-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);
+}