SCI: Add kDisplay workarounds for the Hero's Quest demo
svn-id: r51742
This commit is contained in:
parent
e5ffc7847c
commit
642b03fb44
3 changed files with 13 additions and 6 deletions
|
@ -68,6 +68,11 @@ const Common::String &Kernel::getSelectorName(uint selector) {
|
|||
for (uint loopSelector = _selectorNames.size(); loopSelector <= selector; ++loopSelector)
|
||||
_selectorNames.push_back(Common::String::printf("<noname%d>", loopSelector));
|
||||
}
|
||||
|
||||
// Ensure that the selector has a name
|
||||
if (_selectorNames[selector].empty())
|
||||
_selectorNames[selector] = Common::String::printf("<noname%d>", selector);
|
||||
|
||||
return _selectorNames[selector];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue