summaryrefslogtreecommitdiff
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
parent05bba732253564b630bab6580b27d2ee93d2411e (diff)
using librw GS alpha test emulation
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);
+}