mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-28 02:41:18 +00:00
Avoid displaying "Can't display japanese title" just for a TM sign
This commit is contained in:
parent
724a7c8c93
commit
41b86aff3e
@ -238,7 +238,8 @@ void InGameMenuScreen::render() {
|
||||
DrawBackground(1.0f);
|
||||
|
||||
const char *title;
|
||||
if (UTF8StringHasNonASCII(game_title.c_str())) {
|
||||
// Try to ignore (tm) etc.
|
||||
if (UTF8StringNonASCIICount(game_title.c_str()) > 2) {
|
||||
title = "(can't display japanese title)";
|
||||
} else {
|
||||
title = game_title.c_str();
|
||||
|
Loading…
Reference in New Issue
Block a user