mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Default to Hiragana keyboard when playing in Japanese (#5543)
* Default to Hiragana keyboard in Name Entry screen when playing in Japanese (NTSC behavior) * clang-formated
This commit is contained in:
parent
3a60c3f651
commit
3377dc636a
1 changed files with 4 additions and 2 deletions
|
@ -1374,7 +1374,8 @@ void FileChoose_UpdateQuestMenu(GameState* thisx) {
|
|||
} else {
|
||||
defaultName = &emptyNameNES;
|
||||
}
|
||||
} else { // GAME_REGION_NTSC
|
||||
this->charPage = FS_CHAR_PAGE_HIRA; // Default to Hiragana Keyboard
|
||||
} else { // GAME_REGION_NTSC
|
||||
defaultName = CVarGetInteger(CVAR_ENHANCEMENT("LinkDefaultName"), 0) ? &linkNameNES : &emptyNameNES;
|
||||
}
|
||||
memcpy(Save_GetSaveMetaInfo(this->buttonIndex)->playerName, defaultName, 8);
|
||||
|
@ -1575,7 +1576,8 @@ void FileChoose_UpdateRandomizerMenu(GameState* thisx) {
|
|||
} else {
|
||||
defaultName = &emptyNameNES;
|
||||
}
|
||||
} else { // GAME_REGION_NTSC
|
||||
this->charPage = FS_CHAR_PAGE_HIRA; // Default to Hiragana Keyboard
|
||||
} else { // GAME_REGION_NTSC
|
||||
defaultName = CVarGetInteger(CVAR_ENHANCEMENT("LinkDefaultName"), 0) ? &linkNameNES : &emptyNameNES;
|
||||
}
|
||||
memcpy(Save_GetSaveMetaInfo(this->buttonIndex)->playerName, defaultName, 8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue