From b07fce1566a3b9c675728cba3e68d24502f9b828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 2 Jun 2026 17:16:45 +0200 Subject: [PATCH] Warning fix, shutdown fix --- Common/StringUtils.cpp | 2 +- Core/System.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Common/StringUtils.cpp b/Common/StringUtils.cpp index e0dd997664..1fb44daae5 100644 --- a/Common/StringUtils.cpp +++ b/Common/StringUtils.cpp @@ -267,7 +267,7 @@ void DataToHexString(int indent, uint32_t startAddr, const uint8_t* data, size_t buffer.Printf("\n"); } if (!(i & 15)) - buffer.Printf("%*s%08x ", indent, "", startAddr + i); + buffer.Printf("%*s%08x ", indent, "", (u32)(startAddr + i)); buffer.Printf("%02x ", data[i]); } if (size & 15) { diff --git a/Core/System.cpp b/Core/System.cpp index 0492b888f8..43b40967ea 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -744,9 +744,6 @@ BootState PollBootState() { } void PSP_Shutdown(bool success) { - // Reduce the risk for weird races with the Windows GE debugger. - gpu = nullptr; - // Do nothing if we never inited. if (g_bootState == BootState::Off) { ERROR_LOG(Log::Loader, "Unexpected PSP_Shutdown");