diff --git a/rpcs3/Emu/RSX/Overlays/overlays.cpp b/rpcs3/Emu/RSX/Overlays/overlays.cpp index 9f8182cb61..11ac0486c1 100644 --- a/rpcs3/Emu/RSX/Overlays/overlays.cpp +++ b/rpcs3/Emu/RSX/Overlays/overlays.cpp @@ -66,7 +66,7 @@ std::string utf8_to_ascii8(const std::string& utf8_string) { const u8 code = static_cast(utf8_string[index]); - if (code == 0) + if (!code) { break; }