Afegits uns overrides pa agafar parametres per linea de comandos

This commit is contained in:
2024-10-21 17:46:05 +02:00
parent 2cb22ed013
commit 84238032e0
6 changed files with 61 additions and 22 deletions

View File

@@ -480,7 +480,10 @@ void Screen::displayInfo()
// Resolution
dbg_print(0, 0, info_resolution_.c_str(), 255, 255, 0);
dbg_print(0, 8, std::to_string(globalInputs::service_pressed_counter[0]).c_str(), 255, 255, 0);
// Contador de service_pressed_counter
const int counter = globalInputs::service_pressed_counter[0];
if (counter > 0)
dbg_print(0, 8, std::to_string(counter).c_str(), 255, 0, 255);
}
}