mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Cleanup a lot of the bootup state management.
This commit is contained in:
1 parent
e6ea158dcc
commit
088a02bfdb
30 files changed
+239
-257
No files matched your search
@@ -199,7 +199,7 @@ bool RunAutoTest(HeadlessHost *headlessHost, CoreParameter &coreParameter, const
|
||||
headlessHost->SetComparisonScreenshot(ExpectedScreenshotFromFilename(coreParameter.fileToStart), opt.maxScreenshotError);
|
||||
|
||||
std::string error_string;
|
||||
while (!PSP_InitUpdate(&error_string))
|
||||
while (PSP_InitUpdate(&error_string) == BootState::Booting)
|
||||
sleep_ms(1, "auto-test");
|
||||
|
||||
if (!PSP_IsInited()) {
|
||||
@@ -265,7 +265,7 @@ bool RunAutoTest(HeadlessHost *headlessHost, CoreParameter &coreParameter, const
|
||||
draw->EndFrame();
|
||||
}
|
||||
|
||||
PSP_Shutdown();
|
||||
PSP_Shutdown(true);
|
||||
|
||||
if (!opt.bench)
|
||||
headlessHost->FlushDebugOutput();
|
||||
|
||||
Reference in new issue
Block a user