Handle load requests made by the guest
This commit is contained in:
parent
23b2e25fb8
commit
0c69e05eb1
|
@ -203,7 +203,15 @@ int xenia_main(const std::vector<std::wstring>& args) {
|
|||
// emulation.
|
||||
while (!exiting) {
|
||||
xe::threading::Wait(evt.get(), false);
|
||||
emulator->WaitUntilExit();
|
||||
|
||||
while (true) {
|
||||
emulator->WaitUntilExit();
|
||||
if (emulator->TitleRequested()) {
|
||||
emulator->LaunchNextTitle();
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
debug_window.reset();
|
||||
|
|
Loading…
Reference in New Issue