mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
feat: Added option to enable debug features in release builds
This commit is contained in:
@@ -12,4 +12,13 @@ namespace hex::dbg {
|
||||
|
||||
}
|
||||
|
||||
static bool s_debugMode = false;
|
||||
bool debugModeEnabled() {
|
||||
return s_debugMode;
|
||||
}
|
||||
|
||||
void setDebugModeEnabled(bool enabled) {
|
||||
s_debugMode = enabled;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user