diff options
| author | 2020-03-24 22:57:36 -0600 | |
|---|---|---|
| committer | 2020-03-25 23:32:42 -0600 | |
| commit | cf9c94d4017120b618194a720942ef4e5c8289bd (patch) | |
| tree | 30cbea0216626e3a1db1a68120b54e6bd53804f5 /src/yuzu_cmd/yuzu.cpp | |
| parent | Frontend/GPU: Refactor context management (diff) | |
| download | yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.gz yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.xz yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.zip | |
Address review and fix broken yuzu-tester build
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index e5db7d819..4d2ea7e9e 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp | |||
| @@ -230,11 +230,11 @@ int main(int argc, char** argv) { | |||
| 230 | 230 | ||
| 231 | system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL"); | 231 | system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL"); |
| 232 | 232 | ||
| 233 | system.Renderer().Rasterizer().LoadDiskResources(); | ||
| 234 | |||
| 235 | // Core is loaded, start the GPU (makes the GPU contexts current to this thread) | 233 | // Core is loaded, start the GPU (makes the GPU contexts current to this thread) |
| 236 | system.GPU().Start(); | 234 | system.GPU().Start(); |
| 237 | 235 | ||
| 236 | system.Renderer().Rasterizer().LoadDiskResources(); | ||
| 237 | |||
| 238 | std::thread render_thread([&emu_window] { emu_window->Present(); }); | 238 | std::thread render_thread([&emu_window] { emu_window->Present(); }); |
| 239 | while (emu_window->IsOpen()) { | 239 | while (emu_window->IsOpen()) { |
| 240 | system.RunLoop(); | 240 | system.RunLoop(); |