mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
SCI32: Implement GetConfig("language")
This commit is contained in:
parent
d9983a6224
commit
c1dd3d5c29
@ -381,6 +381,9 @@ reg_t kGetConfig(EngineState *s, int argc, reg_t *argv) {
|
||||
s->_segMan->strcpy(data, "586");
|
||||
} else if (setting == "cpuspeed") {
|
||||
s->_segMan->strcpy(data, "500");
|
||||
} else if (setting == "language") {
|
||||
Common::String languageId = Common::String::format("%d", g_sci->getSciLanguage());
|
||||
s->_segMan->strcpy(data, languageId.c_str());
|
||||
} else {
|
||||
error("GetConfig: Unknown configuration setting %s", setting.c_str());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user