mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
SCI: Removed the correct subops from kString in late SCI2.1/SCI3 games (thanks to waltervn)
svn-id: r54403
This commit is contained in:
parent
ac7c488c7c
commit
57d9de00f8
@ -620,7 +620,7 @@ reg_t kString(EngineState *s, int argc, reg_t *argv) {
|
||||
uint16 op = argv[0].toUint16();
|
||||
|
||||
if (g_sci->_features->detectSci2StringFunctionType() == kSci2StringFunctionNew) {
|
||||
if (op >= 7) // Cpy, Cmp have been removed
|
||||
if (op >= 8) // Dup, GetData have been removed
|
||||
op += 2;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user