CVar Macro Cleanup (#4062)
* Standardized CVar macros to have `CVAR_` at the front instead of the end. Removed excluded and replaced sequence macros. * Missed a few developer CVars outside of `SohMenuBar.cpp` * 1 more.
This commit is contained in:
@@ -133,7 +133,7 @@ void func_8006390C(Input* input) {
|
||||
InputCombo* input_combo;
|
||||
s32 i;
|
||||
|
||||
if (!CVarGetInteger("gDebugEnabled", 0))
|
||||
if (!CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0))
|
||||
return;
|
||||
|
||||
regGroup = (gGameInfo->regGroup * REG_PAGES + gGameInfo->regPage) * REG_PER_PAGE - REG_PER_PAGE;
|
||||
@@ -216,7 +216,7 @@ void func_80063C04(GfxPrint* printer) {
|
||||
s32 pad;
|
||||
char name[3];
|
||||
|
||||
if (!CVarGetInteger("gDebugEnabled", 0))
|
||||
if (!CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0))
|
||||
return;
|
||||
|
||||
// set up register name string
|
||||
@@ -243,7 +243,7 @@ void func_80063D7C(GraphicsContext* gfxCtx) {
|
||||
GfxPrint printer;
|
||||
Gfx* tempRet;
|
||||
|
||||
if (!CVarGetInteger("gDebugEnabled", 0) || GameInteractor_NoUIActive()) {
|
||||
if (!CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0) || GameInteractor_NoUIActive()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user