From 129b3ddadeedb36250281410ad2e0b5556a624c7 Mon Sep 17 00:00:00 2001 From: Alexander Yee Date: Tue, 17 Dec 2024 21:38:48 -0800 Subject: [PATCH] Disable a couple of spammy non-fatal inference failure reports in AutoDA. --- .../Inference/PokemonSwSh_MaxLair_Detect_BattleMenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_BattleMenu.cpp b/SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_BattleMenu.cpp index 6076ab49b..025a6fd1f 100644 --- a/SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_BattleMenu.cpp +++ b/SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_BattleMenu.cpp @@ -372,7 +372,7 @@ void BattleMenuReader::read_hp(Logger& logger, const ImageViewRGB32& screen, Hea } if (bad){ - dump_image(logger, MODULE_NAME, "BattlePartyReader-ReadHP", screen); +// dump_image(logger, MODULE_NAME, "BattlePartyReader-ReadHP", screen); } } void BattleMenuReader::read_own_pp(Logger& logger, const ImageViewRGB32& screen, int8_t pp[4]) const{ @@ -381,7 +381,7 @@ void BattleMenuReader::read_own_pp(Logger& logger, const ImageViewRGB32& screen, pp[2] = read_pp_text(logger, extract_box_reference(screen, m_pp2)); pp[3] = read_pp_text(logger, extract_box_reference(screen, m_pp3)); if (pp[0] < 0 && pp[1] < 0 && pp[2] < 0 && pp[3] < 0){ - dump_image(logger, MODULE_NAME, "BattleMenuReader-read_own_pp", screen); +// dump_image(logger, MODULE_NAME, "BattleMenuReader-read_own_pp", screen); return; } #if 0