diff options
Diffstat (limited to 'src/yuzu_tester/yuzu.cpp')
| -rw-r--r-- | src/yuzu_tester/yuzu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp index 676e70ebd..083667baf 100644 --- a/src/yuzu_tester/yuzu.cpp +++ b/src/yuzu_tester/yuzu.cpp | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <chrono> | ||
| 5 | #include <iostream> | 6 | #include <iostream> |
| 6 | #include <memory> | 7 | #include <memory> |
| 7 | #include <string> | 8 | #include <string> |
| @@ -255,9 +256,11 @@ int main(int argc, char** argv) { | |||
| 255 | system.GPU().Start(); | 256 | system.GPU().Start(); |
| 256 | system.Renderer().Rasterizer().LoadDiskResources(); | 257 | system.Renderer().Rasterizer().LoadDiskResources(); |
| 257 | 258 | ||
| 259 | system.Run(); | ||
| 258 | while (!finished) { | 260 | while (!finished) { |
| 259 | system.RunLoop(); | 261 | std::this_thread::sleep_for(std::chrono::milliseconds(1)); |
| 260 | } | 262 | } |
| 263 | system.Pause(); | ||
| 261 | 264 | ||
| 262 | detached_tasks.WaitForAllTasks(); | 265 | detached_tasks.WaitForAllTasks(); |
| 263 | return return_value; | 266 | return return_value; |