Handle load requests made by the guest

This commit is contained in:
Dr. Chat 2016-06-18 21:00:01 -05:00
parent 23b2e25fb8
commit 0c69e05eb1
1 changed files with 9 additions and 1 deletions

View File

@ -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();