mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
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 a new issue