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:
parent
abda366362
commit
bcaadac22c
4 changed files with 82 additions and 85 deletions
|
@ -240,11 +240,11 @@ int main(int argc, char** argv) {
|
|||
system.CurrentProcess()->GetTitleID(), false,
|
||||
[](VideoCore::LoadCallbackStage, size_t value, size_t total) {});
|
||||
|
||||
system.Run();
|
||||
void(system.Run());
|
||||
while (emu_window->IsOpen()) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
}
|
||||
system.Pause();
|
||||
void(system.Pause());
|
||||
system.Shutdown();
|
||||
|
||||
detached_tasks.WaitForAllTasks();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue