SCI1 Mac games can call kGetFarText with a NULL destination, so we need to allocate the memory. King's Quest V Mac is now playable.
svn-id: r47950
This commit is contained in:
parent
71c222e340
commit
9183ab57a3
2 changed files with 11 additions and 8 deletions
|
@ -265,7 +265,7 @@ SciKernelFunction kfunct_mappers[] = {
|
|||
/*4a*/ DEFUN("StrLen", kStrLen, "Zr"),
|
||||
/*4b*/ DEFUN("StrCpy", kStrCpy, "rZri*"),
|
||||
/*4c*/ DEFUN("Format", kFormat, "r.*"),
|
||||
/*4d*/ DEFUN("GetFarText", kGetFarText, "iir"),
|
||||
/*4d*/ DEFUN("GetFarText", kGetFarText, "iiZr"),
|
||||
/*4e*/ DEFUN("ReadNumber", kReadNumber, "r"),
|
||||
/*4f*/ DEFUN("BaseSetter", kBaseSetter, "o"),
|
||||
/*50*/ DEFUN("DirLoop", kDirLoop, "oi"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue