mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
add debug inventory editor check (#196)
This commit is contained in:
@@ -483,6 +483,13 @@ void KaleidoScope_HandlePageToggles(PlayState* play, Input* input) {
|
||||
PauseContext* pauseCtx = &play->pauseCtx;
|
||||
InterfaceContext* interfaceCtx = &play->interfaceCtx;
|
||||
|
||||
// 2S2H [Debug] Restoring input check for debug inventory editor based on OOT debug
|
||||
if (CVarGetInteger("gDeveloperTools.DebugEnabled", 0) && (pauseCtx->debugEditor == DEBUG_EDITOR_NONE) &&
|
||||
CHECK_BTN_ALL(input->press.button, BTN_L)) {
|
||||
pauseCtx->debugEditor = DEBUG_EDITOR_INVENTORY_INIT;
|
||||
return;
|
||||
}
|
||||
|
||||
//! FAKE
|
||||
if (1) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user