From 2cb5c41fed211bd6c07dbe3288c4dbbda0e0c041 Mon Sep 17 00:00:00 2001 From: shuffle2 Date: Sat, 26 Sep 2015 19:08:15 -0700 Subject: [PATCH] HostGetString: Actually fill a string with data --- Source/Core/Core/PowerPC/MMU.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/PowerPC/MMU.cpp b/Source/Core/Core/PowerPC/MMU.cpp index 240887316f..9a06058bb1 100644 --- a/Source/Core/Core/PowerPC/MMU.cpp +++ b/Source/Core/Core/PowerPC/MMU.cpp @@ -637,6 +637,7 @@ std::string HostGetString(u32 address, size_t size) u8 res = HostRead_U8(address); if (!res) break; + s += static_cast(res); ++address; } while (size == 0 || s.length() < size); return s;