summaryrefslogtreecommitdiff
path: root/src/yuzu_tester/yuzu.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-18 02:06:42 -0500
committerGravatar Lioncash2020-11-18 02:06:44 -0500
commitbcaadac22ca8a7320a46644e8199ef333edce8e9 (patch)
tree968303f713e9efe6b65ac668f057a5f63495134f /src/yuzu_tester/yuzu.cpp
parentMerge pull request #4866 from Morph1984/mjolnir-p3-prod (diff)
downloadyuzu-bcaadac22ca8a7320a46644e8199ef333edce8e9.tar.gz
yuzu-bcaadac22ca8a7320a46644e8199ef333edce8e9.tar.xz
yuzu-bcaadac22ca8a7320a46644e8199ef333edce8e9.zip
core: Make use of [[nodiscard]] with the System class
Given this is a central class, we should flag cases where the return value of some functions not being used is likely a bug.
Diffstat (limited to 'src/yuzu_tester/yuzu.cpp')
-rw-r--r--src/yuzu_tester/yuzu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp
index 5798ce43a..88e4bd1f7 100644
--- a/src/yuzu_tester/yuzu.cpp
+++ b/src/yuzu_tester/yuzu.cpp
@@ -256,11 +256,11 @@ int main(int argc, char** argv) {
256 256
257 system.GPU().Start(); 257 system.GPU().Start();
258 258
259 system.Run(); 259 void(system.Run());
260 while (!finished) { 260 while (!finished) {
261 std::this_thread::sleep_for(std::chrono::milliseconds(1)); 261 std::this_thread::sleep_for(std::chrono::milliseconds(1));
262 } 262 }
263 system.Pause(); 263 void(system.Pause());
264 264
265 detached_tasks.WaitForAllTasks(); 265 detached_tasks.WaitForAllTasks();
266 return return_value; 266 return return_value;