From fae6b7ae86e67b192d3b6b4b02643635fb55500c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 14 Jul 2024 21:32:10 +1000 Subject: [PATCH] System: Fix double error on load/boot cancel --- src/core/system.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 5ce1741ec..1e0d88299 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -1649,7 +1649,9 @@ bool System::BootSystem(SystemBootParameters parameters, Error* error) ClearRunningGame(); Host::OnSystemDestroyed(); Host::OnIdleStateChanged(); - return false; + + // Technically a failure, but user-initiated. Returning false here would try to display a non-existent error. + return true; } }