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.
|
// emulation.
|
||||||
while (!exiting) {
|
while (!exiting) {
|
||||||
xe::threading::Wait(evt.get(), false);
|
xe::threading::Wait(evt.get(), false);
|
||||||
|
|
||||||
|
while (true) {
|
||||||
emulator->WaitUntilExit();
|
emulator->WaitUntilExit();
|
||||||
|
if (emulator->TitleRequested()) {
|
||||||
|
emulator->LaunchNextTitle();
|
||||||
|
} else {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
debug_window.reset();
|
debug_window.reset();
|
||||||
|
|
Loading…
Reference in New Issue