mirror of
https://github.com/wiiu-env/AutobootModule.git
synced 2024-11-25 12:06:58 +01:00
Add missing OSScreenShutdown call
This commit is contained in:
parent
aea2a86b05
commit
8c132ccf9a
@ -343,14 +343,16 @@ int32_t handleMenuScreen(int32_t autobootOptionInput) {
|
|||||||
DrawUtils::clear(COLOR_BLACK);
|
DrawUtils::clear(COLOR_BLACK);
|
||||||
DrawUtils::endDraw();
|
DrawUtils::endDraw();
|
||||||
|
|
||||||
|
DrawUtils::deinitFont();
|
||||||
|
|
||||||
|
OSScreenShutdown();
|
||||||
|
|
||||||
|
free(screenBuffer);
|
||||||
|
|
||||||
if (autoboot != autobootOptionInput) {
|
if (autoboot != autobootOptionInput) {
|
||||||
writeAutobootOption(autoboot);
|
writeAutobootOption(autoboot);
|
||||||
}
|
}
|
||||||
|
|
||||||
DrawUtils::deinitFont();
|
|
||||||
|
|
||||||
free(screenBuffer);
|
|
||||||
|
|
||||||
return selected;
|
return selected;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user