- LoadCurrentProfile to clear screen

This commit is contained in:
Ilya Shurumov 2020-10-09 00:18:33 +06:00
parent ca181c1661
commit 3ca59a4489

View File

@ -106,6 +106,17 @@ void LoadCurrentProfile()
SetTextColour(128, 128, 64);
ShowSavingWaitMessage("Loading configuration...", 0);
{
RECT16 rect;
rect.x = 0;
rect.y = 0;
rect.w = 320;
rect.h = 512;
ClearImage(&rect, 0, 0, 0);
DrawSync(0);
}
error = 1;
// load config
@ -126,6 +137,10 @@ void LoadCurrentProfile()
error = 0;
}
}
else
{
ShowSavingWaitMessage("No saved data", 0);
}
if (error)
{