Add cheat for easy pause buffering (#1439)
* Add cheat for easy pause buffering * Add pause input buffering * Fix pause input buffering * Changes from feedback * Convert frame to bool * Handle when pad is nullptr * Add newline * Split input buffering into it's own CVAR * Split SetShouldBlockGameInput up into to methods
This commit is contained in:
@@ -288,6 +288,11 @@ void PadMgr_ProcessInputs(PadMgr* padMgr) {
|
||||
}
|
||||
|
||||
OTRControllerCallback(&controllerCallback);
|
||||
if (CVar_GetS32("gPauseBufferBlockInputFrame", 0)) {
|
||||
Controller_BlockGameInput();
|
||||
} else {
|
||||
Controller_UnblockGameInput();
|
||||
}
|
||||
|
||||
PadMgr_UnlockPadData(padMgr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user