aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-02-08 19:22:11 -0600
committerColin Snover2017-04-22 19:25:20 -0500
commitc6cf7215f0f620dc4a155ca79510a44db13370fc (patch)
treebc54c3c57ba43bdb764b1315e4bc219ee8aed88e
parentecc446da841c2dc1fba0c36117159d031302ea85 (diff)
downloadscummvm-rg350-c6cf7215f0f620dc4a155ca79510a44db13370fc.tar.gz
scummvm-rg350-c6cf7215f0f620dc4a155ca79510a44db13370fc.tar.bz2
scummvm-rg350-c6cf7215f0f620dc4a155ca79510a44db13370fc.zip
SCI32: Fix kStringFormat signatures
-rw-r--r--engines/sci/engine/kernel_tables.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h
index 7e3f4a8bff..77f1aa134c 100644
--- a/engines/sci/engine/kernel_tables.h
+++ b/engines/sci/engine/kernel_tables.h
@@ -547,7 +547,7 @@ static const SciKernelMapSubEntry kString_subops[] = {
{ SIG_THRU_SCI21MID, 8, MAP_CALL(ArrayDuplicate), "r", NULL },
{ SIG_THRU_SCI21MID, 9, MAP_CALL(StringGetData), "[0or]", NULL },
{ SIG_THRU_SCI21MID, 10, MAP_CALL(StringLength), "r", NULL },
- { SIG_THRU_SCI21MID, 11, MAP_CALL(StringFormat), "r(.*)", NULL },
+ { SIG_THRU_SCI21MID, 11, MAP_CALL(StringFormat), "[ro](.*)", NULL },
{ SIG_THRU_SCI21MID, 12, MAP_CALL(StringFormatAt), "r[ro](.*)", NULL },
{ SIG_THRU_SCI21MID, 13, MAP_CALL(StringToInteger), "r", NULL },
{ SIG_THRU_SCI21MID, 14, MAP_CALL(StringTrim), "ri(i)", NULL },
@@ -557,8 +557,8 @@ static const SciKernelMapSubEntry kString_subops[] = {
{ SIG_THRU_SCI21MID, 18, MAP_CALL(StringReplaceSubstringEx), "rrrr", NULL },
{ SIG_SINCE_SCI21LATE, 8, MAP_CALL(StringLength), "r", NULL },
- { SIG_SINCE_SCI21LATE, 9, MAP_CALL(StringFormat), "r(.*)", NULL },
- { SIG_SINCE_SCI21LATE,10, MAP_CALL(StringFormatAt), "rr(.*)", NULL },
+ { SIG_SINCE_SCI21LATE, 9, MAP_CALL(StringFormat), "[ro](.*)", NULL },
+ { SIG_SINCE_SCI21LATE,10, MAP_CALL(StringFormatAt), "r[ro](.*)", NULL },
{ SIG_SINCE_SCI21LATE,11, MAP_CALL(StringToInteger), "r", NULL },
{ SIG_SINCE_SCI21LATE,12, MAP_CALL(StringTrim), "ri(i)", NULL },
{ SIG_SINCE_SCI21LATE,13, MAP_CALL(StringToUpperCase), "r", NULL },