mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Avoid displaying "Can't display japanese title" just for a TM sign
This commit is contained in:
parent
724a7c8c93
commit
41b86aff3e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue