mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-07 10:42:32 -07:00
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.
This commit is contained in:
@@ -256,11 +256,11 @@ int main(int argc, char** argv) {
|
||||
|
||||
system.GPU().Start();
|
||||
|
||||
system.Run();
|
||||
void(system.Run());
|
||||
while (!finished) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
}
|
||||
system.Pause();
|
||||
void(system.Pause());
|
||||
|
||||
detached_tasks.WaitForAllTasks();
|
||||
return return_value;
|
||||
|
Reference in New Issue
Block a user