This commit is contained in:
Armel FAUVEAU committed 2025-05-02 05:05:06 +02:00
1 parent 3e299b5079
commit c46325800d
1 file changed
+5 -5
+5 -5
View File
@@ -369,6 +369,10 @@ static void OnKeyDown(uint8_t key)
case KEY_MENU:
isPaused = !isPaused;
kbd.counter = 0;
if(isPaused)
{
UI_PrintStringSmallBold("PAUSE", 0, 128, 4);
}
break;
case KEY_EXIT:
isPaused = false;
@@ -376,11 +380,7 @@ static void OnKeyDown(uint8_t key)
break;
}
if(isPaused)
{
UI_PrintStringSmallBold("PAUSE", 0, 128, 4);
}
else if(wasPaused)
if(wasPaused == true && isPaused == false)
{
// Clear the pause text
for(uint8_t i = 0; i < 8; i++)