forked from suyu/suyu
YuzuCMD/Tester: Correct execution
This commit is contained in:
parent
e31425df38
commit
9e4b9f1afd
2 changed files with 8 additions and 6 deletions
|
@ -236,9 +236,10 @@ int main(int argc, char** argv) {
|
|||
system.Renderer().Rasterizer().LoadDiskResources();
|
||||
|
||||
std::thread render_thread([&emu_window] { emu_window->Present(); });
|
||||
while (emu_window->IsOpen()) {
|
||||
//system.RunLoop();
|
||||
}
|
||||
system.Run();
|
||||
while (emu_window->IsOpen())
|
||||
;
|
||||
system.Pause();
|
||||
render_thread.join();
|
||||
|
||||
system.Shutdown();
|
||||
|
|
|
@ -255,9 +255,10 @@ int main(int argc, char** argv) {
|
|||
system.GPU().Start();
|
||||
system.Renderer().Rasterizer().LoadDiskResources();
|
||||
|
||||
while (!finished) {
|
||||
//system.RunLoop();
|
||||
}
|
||||
system.Run();
|
||||
while (!finished)
|
||||
;
|
||||
system.Pause();
|
||||
|
||||
detached_tasks.WaitForAllTasks();
|
||||
return return_value;
|
||||
|
|
Loading…
Reference in a new issue