mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Ooops, fix Elvira 1 regression
svn-id: r24525
This commit is contained in:
parent
5ab37ca91d
commit
adb626c783
@ -215,8 +215,7 @@ Subroutine *AGOSEngine::getSubroutineByID(uint subroutine_id) {
|
||||
}
|
||||
}
|
||||
|
||||
if (subroutine_id != 160)
|
||||
debug(0,"getSubroutineByID: subroutine %d not found", subroutine_id);
|
||||
debug(0,"getSubroutineByID: subroutine %d not found", subroutine_id);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -689,7 +688,7 @@ void AGOSEngine::readSubroutineLine(Common::SeekableReadStream *in, SubroutineLi
|
||||
}
|
||||
}
|
||||
|
||||
size = (q - line_buffer + 1);
|
||||
size = (q - line_buffer + 2);
|
||||
memcpy(allocateTable(size), line_buffer, size);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user