mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 18:02:05 +00:00
SCI: Cleanup.
svn-id: r51584
This commit is contained in:
parent
79bf94c877
commit
4423ad9333
@ -56,11 +56,8 @@ const Common::String &Kernel::getSelectorName(uint selector) {
|
||||
// This should only occur in games w/o a selector-table
|
||||
// We need this for proper workaround tables
|
||||
// TODO: maybe check, if there is a fixed selector-table and error() out in that case
|
||||
for (uint loopSelector = _selectorNames.size(); loopSelector <= selector; loopSelector++) {
|
||||
Common::String newSelectorName;
|
||||
newSelectorName = newSelectorName.printf("<noname%d>", loopSelector);
|
||||
_selectorNames.push_back(newSelectorName);
|
||||
}
|
||||
for (uint loopSelector = _selectorNames.size(); loopSelector <= selector; ++loopSelector)
|
||||
_selectorNames.push_back(Common::String::printf("<noname%d>", loopSelector));
|
||||
}
|
||||
return _selectorNames[selector];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user