Skip to content

Commit 46b6ea1

Browse files
committed
Don't check the heaps if the menu is open
1 parent e8c5bac commit 46b6ea1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ttyd-tools/rel/source/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,9 @@ void Mod::run()
813813
displayActionCommandsTiming();
814814
displayStickAngle();
815815
displayMemoryWatches();
816+
817+
// Check the heaps
818+
checkHeaps();
816819
}
817820

818821
uint32_t tempFrameCounter = FrameCounter;
@@ -821,9 +824,6 @@ void Mod::run()
821824
FrameCounter = tempFrameCounter - 1;
822825
}
823826

824-
// Check the heaps
825-
checkHeaps();
826-
827827
// Call original function
828828
mPFN_makeKey_trampoline();
829829
}

0 commit comments

Comments
 (0)