Skip to content

Commit

Permalink
Add missing system languages
Browse files Browse the repository at this point in the history
Adds Portuguese (BR) which was introduced in firmware 4.00 alongside
with English (UK)
Adds Turkish which was introduced in firmware 4.30
  • Loading branch information
AniLeo authored and Nekotekina committed Mar 8, 2017
1 parent a168aa2 commit 7cdb5f3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions rpcs3/Emu/Cell/Modules/cellGame.cpp
Expand Up @@ -601,6 +601,7 @@ static const char* get_param_string_key(s32 id)
case CELL_GAME_PARAMID_TITLE_POLISH: return "TITLE_16";
case CELL_GAME_PARAMID_TITLE_PORTUGUESE_BRAZIL: return "TITLE_17";
case CELL_GAME_PARAMID_TITLE_ENGLISH_UK: return "TITLE_18";
case CELL_GAME_PARAMID_TITLE_TURKISH: return "TITLE_19";

case CELL_GAME_PARAMID_TITLE_ID: return "TITLE_ID";
case CELL_GAME_PARAMID_VERSION: return "VERSION";
Expand Down
5 changes: 3 additions & 2 deletions rpcs3/Emu/Cell/Modules/cellGame.h
Expand Up @@ -104,8 +104,9 @@ enum
CELL_GAME_PARAMID_TITLE_DANISH = 16,
CELL_GAME_PARAMID_TITLE_NORWEGIAN = 17,
CELL_GAME_PARAMID_TITLE_POLISH = 18,
CELL_GAME_PARAMID_TITLE_PORTUGUESE_BRAZIL = 19,
CELL_GAME_PARAMID_TITLE_ENGLISH_UK = 20,
CELL_GAME_PARAMID_TITLE_PORTUGUESE_BRAZIL = 19, // FW 4.00
CELL_GAME_PARAMID_TITLE_ENGLISH_UK = 20, // FW 4.00
CELL_GAME_PARAMID_TITLE_TURKISH = 21, // FW 4.30
CELL_GAME_PARAMID_TITLE_ID = 100,
CELL_GAME_PARAMID_VERSION = 101,
CELL_GAME_PARAMID_PS3_SYSTEM_VER = 105,
Expand Down
2 changes: 2 additions & 0 deletions rpcs3/Emu/Cell/Modules/cellSysutil.cpp
Expand Up @@ -88,6 +88,8 @@ cfg::map_entry<s32> g_cfg_sys_language(cfg::root.sys, "Language",
{ "Norwegian", CELL_SYSUTIL_LANG_NORWEGIAN },
{ "Polish", CELL_SYSUTIL_LANG_POLISH },
{ "English (UK)", CELL_SYSUTIL_LANG_ENGLISH_GB },
{ "Portuguese (BR)", CELL_SYSUTIL_LANG_PORTUGUESE_BR },
{ "Turkish", CELL_SYSUTIL_LANG_TURKISH },
});

// For test
Expand Down
5 changes: 3 additions & 2 deletions rpcs3/Emu/Cell/Modules/cellSysutil.h
Expand Up @@ -57,8 +57,9 @@ enum
CELL_SYSUTIL_LANG_DANISH = 14,
CELL_SYSUTIL_LANG_NORWEGIAN = 15,
CELL_SYSUTIL_LANG_POLISH = 16,
CELL_SYSUTIL_LANG_PORTUGUESE_BR = 17,
CELL_SYSUTIL_LANG_ENGLISH_GB = 18,
CELL_SYSUTIL_LANG_PORTUGUESE_BR = 17, // FW 4.00
CELL_SYSUTIL_LANG_ENGLISH_GB = 18, // FW 4.00
CELL_SYSUTIL_LANG_TURKISH = 19, // FW 4.30
};

enum
Expand Down

0 comments on commit 7cdb5f3

Please sign in to comment.