|
|
@ -236,9 +236,10 @@ int main(int argc, char** argv) {
|
|
|
|
system.Renderer().Rasterizer().LoadDiskResources();
|
|
|
|
system.Renderer().Rasterizer().LoadDiskResources();
|
|
|
|
|
|
|
|
|
|
|
|
std::thread render_thread([&emu_window] { emu_window->Present(); });
|
|
|
|
std::thread render_thread([&emu_window] { emu_window->Present(); });
|
|
|
|
while (emu_window->IsOpen()) {
|
|
|
|
system.Run();
|
|
|
|
//system.RunLoop();
|
|
|
|
while (emu_window->IsOpen())
|
|
|
|
}
|
|
|
|
;
|
|
|
|
|
|
|
|
system.Pause();
|
|
|
|
render_thread.join();
|
|
|
|
render_thread.join();
|
|
|
|
|
|
|
|
|
|
|
|
system.Shutdown();
|
|
|
|
system.Shutdown();
|
|
|
|