Disable hide on debug build
This commit is contained in:
parent
084ec536e6
commit
3fb6dc741b
|
|
@ -42,6 +42,16 @@ namespace lspd {
|
|||
|
||||
inline constexpr bool is64 = Is64();
|
||||
|
||||
inline bool constexpr IsDebug() {
|
||||
#ifdef NDEBUG
|
||||
return false;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
inline constexpr bool isDebug = IsDebug();
|
||||
|
||||
#if defined(__LP64__)
|
||||
# define LP_SELECT(lp32, lp64) lp64
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ namespace lspd {
|
|||
RiruVersionedModuleInfo module{
|
||||
.moduleApiVersion = RIRU_MODULE_API_VERSION,
|
||||
.moduleInfo = RiruModuleInfo{
|
||||
.supportHide = true,
|
||||
.supportHide = !isDebug,
|
||||
.version = RIRU_MODULE_VERSION,
|
||||
.versionName = RIRU_MODULE_VERSION_NAME,
|
||||
.onModuleLoaded = lspd::onModuleLoaded,
|
||||
|
|
|
|||
Loading…
Reference in New Issue