This commit is contained in:
Fazana
2021-08-15 11:38:31 +01:00
parent 30aeb6841c
commit 535e8ee382
2 changed files with 4 additions and 1 deletions

View File

@@ -112,7 +112,8 @@
// Custom debug mode. Press DPAD left to show the debug UI. Press DPAD right to enter the noclip mode.
//#define CUSTOM_DEBUG
// Include Puppyprint, a display library for text and large images. Also includes a custom, enhanced performance profiler.
#define PUPPYPRINT
//#define PUPPYPRINT
#define PUPPYPRINT_DEBUG 0
// BUG/GAME QOL FIXES
// Fix instant warp offset not working when warping across different areas

View File

@@ -476,12 +476,14 @@ void puppyprint_profiler_process(void)
}
benchmark_custom();
}
#if PUPPYPRINT_DEBUG
if (gPlayer1Controller->buttonDown & U_JPAD && gPlayer1Controller->buttonPressed & L_TRIG)
{
ramViewer = 0;
benchViewer = 0;
fDebug ^= 1;
}
#endif
if (perfIteration++ == NUM_PERF_ITERATIONS-1)