mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-27 23:06:20 +00:00
enable czech control panel. should work.
svn-id: r15628
This commit is contained in:
parent
32d8d0adbf
commit
561f6ab6e8
@ -165,7 +165,7 @@ Control::Control(SaveFileManager *saveFileMan, ResMan *pResMan, ObjectMan *pObjM
|
||||
_music = pMusic;
|
||||
_sound = pSound;
|
||||
strcpy(_savePath, savePath);
|
||||
_lStrings = _languageStrings + MIN(SwordEngine::_systemVars.language, (uint8)BS1_SPANISH) * 20;
|
||||
_lStrings = _languageStrings + SwordEngine::_systemVars.language * 20;
|
||||
}
|
||||
|
||||
void Control::askForCd(void) {
|
||||
@ -423,8 +423,12 @@ void Control::setupMainPanel(void) {
|
||||
|
||||
if (SwordEngine::_systemVars.deathScreenFlag == 1)
|
||||
panelId = SR_DEATHPANEL;
|
||||
else {
|
||||
if (SwordEngine::_systemVars.language <= BS1_SPANISH)
|
||||
panelId = SR_PANEL_ENGLISH + SwordEngine::_systemVars.language;
|
||||
else
|
||||
panelId = SR_PANEL_ENGLISH + MIN(SwordEngine::_systemVars.language, (uint8)BS1_SPANISH);
|
||||
panelId = SR_PANEL_ENGLISH;
|
||||
}
|
||||
|
||||
ControlButton *panel = new ControlButton( 0, 0, panelId, 0, _resMan, _screenBuf, _system);
|
||||
panel->draw();
|
||||
|
Loading…
x
Reference in New Issue
Block a user