diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-09 15:06:13 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-09 15:06:13 +0200 |
commit | 28103775ba799133b252e423e3da62ed7b09f7b9 (patch) | |
tree | 02b9958d54e040fe20310990a9da5636fe0527db /src/extras | |
parent | Fix compilation error (diff) | |
download | re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.gz re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.bz2 re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.lz re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.xz re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.zst re3-28103775ba799133b252e423e3da62ed7b09f7b9.zip |
Diffstat (limited to 'src/extras')
-rw-r--r-- | src/extras/debugmenu.cpp | 2 | ||||
-rw-r--r-- | src/extras/debugmenu.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/extras/debugmenu.cpp b/src/extras/debugmenu.cpp index bb0ed55e..a31426bb 100644 --- a/src/extras/debugmenu.cpp +++ b/src/extras/debugmenu.cpp @@ -1,4 +1,5 @@ #include "common.h" +#ifdef DEBUGMENU #include "RwHelper.h" #include "Pad.h" #include "ControllerConfig.h" @@ -1313,3 +1314,4 @@ DebugMenuEntrySetAddress(MenuEntry *e, void *addr) ((MenuEntry_Float32*)e)->variable = (float*)addr; } } +#endif
\ No newline at end of file diff --git a/src/extras/debugmenu.h b/src/extras/debugmenu.h index ae595c1f..eb56c8f9 100644 --- a/src/extras/debugmenu.h +++ b/src/extras/debugmenu.h @@ -1,5 +1,7 @@ #pragma once +#ifdef DEBUGMENU + typedef void (*TriggerFunc)(void); struct Menu; @@ -85,3 +87,4 @@ inline DebugMenuEntry *DebugMenuAddVarBool8(const char *path, const char *name, { return DebugMenuAddVarBool8(path, name, (int8_t*)ptr, triggerFunc); } +#endif
\ No newline at end of file |