diff options
| author | Jonathan Gray | 2003-01-29 08:07:10 +0000 |
|---|---|---|
| committer | Jonathan Gray | 2003-01-29 08:07:10 +0000 |
| commit | 80bd1491563bcf974dd87506e43e225f0b3adf61 (patch) | |
| tree | 9bcc9c6cef21e5eaa11b36979145db17f9e9806a /scumm/scummvm.cpp | |
| parent | 988db178e65bef7cf6d4fe9bda28d5eb16ea1e29 (diff) | |
| download | scummvm-rg350-80bd1491563bcf974dd87506e43e225f0b3adf61.tar.gz scummvm-rg350-80bd1491563bcf974dd87506e43e225f0b3adf61.tar.bz2 scummvm-rg350-80bd1491563bcf974dd87506e43e225f0b3adf61.zip | |
add ability to specify language for comi see scummvm -h for possible values
svn-id: r6567
Diffstat (limited to 'scumm/scummvm.cpp')
| -rw-r--r-- | scumm/scummvm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index eb15759aec..fbdb7b0e3e 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -94,6 +94,7 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst) _noSubtitles = detector->_noSubtitles; _defaultTalkDelay = detector->_talkSpeed; _use_adlib = detector->_use_adlib; + _language = detector->_language; memset(&res, 0, sizeof(res)); _allocatedSize = 0; _roomResource = 0; @@ -367,6 +368,7 @@ void Scumm::initScummVars() if (_features & GF_AFTER_V8) { // Fixme: How do we deal with non-cd installs? _vars[VAR_CURRENTDISK] = 1; + _vars[VAR_LANGUAGE] = _language; } } |
