mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 23:32:55 +00:00
YuzuCMD/Tester: Correct execution
This commit is contained in:
parent
e31425df38
commit
9e4b9f1afd
|
@ -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