From ba85b7c01711124047cab732a5358c7ef3cc40b8 Mon Sep 17 00:00:00 2001 From: Fazana <52551480+FazanaJ@users.noreply.github.com> Date: Sat, 21 Aug 2021 17:59:21 +0100 Subject: [PATCH] Puppyprint fix Makes the test func run only when needed rather than all the time. --- src/game/puppyprint.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/puppyprint.c b/src/game/puppyprint.c index 551b54e2..c6de8632 100644 --- a/src/game/puppyprint.c +++ b/src/game/puppyprint.c @@ -261,6 +261,8 @@ void print_ram_overview(void) void benchmark_custom(void) { + if (benchmarkLoop == 0 || benchOption != 2) + return; OSTime lastTime; while (TRUE) {