diff options
| author | 2020-11-24 04:26:59 -0300 | |
|---|---|---|
| committer | 2020-11-24 04:26:59 -0300 | |
| commit | 410ed829224fb2babfa98f38a4f11f5c9a9ed43e (patch) | |
| tree | f72de817aa84142c7bbb5420be86b859e97d039d /src/yuzu_cmd/yuzu.cpp | |
| parent | Merge pull request #4972 from lioncash/unused4 (diff) | |
| parent | core: Remove unused private Init function for the System class (diff) | |
| download | yuzu-410ed829224fb2babfa98f38a4f11f5c9a9ed43e.tar.gz yuzu-410ed829224fb2babfa98f38a4f11f5c9a9ed43e.tar.xz yuzu-410ed829224fb2babfa98f38a4f11f5c9a9ed43e.zip | |
Merge pull request #4942 from lioncash/system
core: Make use of [[nodiscard]] with the System class
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 3a76c785f..14a23c71b 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp | |||
| @@ -240,11 +240,11 @@ int main(int argc, char** argv) { | |||
| 240 | system.CurrentProcess()->GetTitleID(), false, | 240 | system.CurrentProcess()->GetTitleID(), false, |
| 241 | [](VideoCore::LoadCallbackStage, size_t value, size_t total) {}); | 241 | [](VideoCore::LoadCallbackStage, size_t value, size_t total) {}); |
| 242 | 242 | ||
| 243 | system.Run(); | 243 | void(system.Run()); |
| 244 | while (emu_window->IsOpen()) { | 244 | while (emu_window->IsOpen()) { |
| 245 | std::this_thread::sleep_for(std::chrono::milliseconds(1)); | 245 | std::this_thread::sleep_for(std::chrono::milliseconds(1)); |
| 246 | } | 246 | } |
| 247 | system.Pause(); | 247 | void(system.Pause()); |
| 248 | system.Shutdown(); | 248 | system.Shutdown(); |
| 249 | 249 | ||
| 250 | detached_tasks.WaitForAllTasks(); | 250 | detached_tasks.WaitForAllTasks(); |