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");