Add gRegEditEnabled (#3173)

* Add gRegEditEnabled

* Remove TCRF link
This commit is contained in:
Pepe20129
2023-10-30 16:54:53 +01:00
committed by GitHub
parent fd09a12fff
commit e4cfc8852d
3 changed files with 32 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ void func_800C4344(GameState* gameState) {
HREG(95) = CHECK_BTN_ALL(selectedInput->press.button, hReg82);
}
if (gIsCtrlr2Valid) {
if (CVarGetInteger("gRegEditEnabled", 0) || gIsCtrlr2Valid) {
func_8006390C(&gameState->input[1]);
}