mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 11:04:44 +00:00
Change debugInput opcode result to zerod array for now, since it expects input string
svn-id: r20901
This commit is contained in:
parent
0cb17f18b3
commit
76962c3ce6
@ -1718,13 +1718,12 @@ void ScummEngine_v72he::o72_debugInput() {
|
||||
byte string[255];
|
||||
|
||||
copyScriptString(string, sizeof(string));
|
||||
int len = resStrLen(string) + 1;
|
||||
debug(0,"o72_debugInput: String %s", string);
|
||||
|
||||
// TODO: Request input and store string result in array
|
||||
writeVar(0, 0);
|
||||
ArrayHeader *ah = defineArray(0, kStringArray, 0, 0, 0, len);
|
||||
memcpy(ah->data, string, len);
|
||||
defineArray(0, kStringArray, 0, 0, 0, 0);
|
||||
push(readVar(0));
|
||||
debug(1,"o72_debugInput: String %s", string);
|
||||
}
|
||||
|
||||
void ScummEngine_v72he::o72_jumpToScript() {
|
||||
|
@ -548,8 +548,8 @@ void Wiz::copyRawWizImage(uint8 *dst, const uint8 *src, int dstw, int dsth, int
|
||||
}
|
||||
palPtr = imagePal;
|
||||
}
|
||||
int h = r1.height();
|
||||
int w = r1.width();
|
||||
int h = r1.height() + 1;
|
||||
int w = r1.width() + 1;
|
||||
src += r1.left + r1.top * srcw;
|
||||
dst += r2.left + r2.top * dstw;
|
||||
while (h--) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user