Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,14 @@ def getSensorBarPosition(config: SystemConfig) -> int:
return 0

def update(config: SystemConfig, filepath: Path, gameResolution: Resolution) -> None:
wii_lang_str = config.get_str("wii_language")
if wii_lang_str is not None:
wii_lang = int(wii_lang_str)
else:
wii_lang = getWiiLangFromEnvironment()

arg_setval = {
"IPL.LNG": getWiiLangFromEnvironment(),
"IPL.LNG": wii_lang,
"IPL.AR": getRatioFromConfig(config, gameResolution),
"BT.BAR": getSensorBarPosition(config)
}
Expand Down
15 changes: 15 additions & 0 deletions package/batocera/emulators/dolphin-emu/dolphin.emulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,21 @@ cores:
shared_features:
- use_guns
custom_features:
wii_language:
submenu: EMULATION
prompt: WII LANGUAGE
description: Change the Wii system language.
choices:
Japanese: 0
English: 1
German: 2
French: 3
Spanish: 4
Italian: 5
Dutch: 6
Simplified Chinese: 7
Traditional Chinese: 8
Korean: 9
tv_mode:
submenu: DISPLAY
prompt: WII TV MODE
Expand Down