mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 02:42:38 +01:00
- LoadCurrentProfile to clear screen
This commit is contained in:
parent
ca181c1661
commit
3ca59a4489
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user