mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 04:34:50 +00:00
V2 only reads one byte for variable number
svn-id: r7036
This commit is contained in:
parent
5f1e964b65
commit
47114e1da2
@ -466,6 +466,12 @@ void Scumm::writeVar(uint var, int value) {
|
||||
void Scumm::getResultPos() {
|
||||
int a;
|
||||
|
||||
// FIXME: Subclass this properly
|
||||
if (_features & GF_AFTER_V2) {
|
||||
_resultVarNumber = fetchScriptByte();
|
||||
return;
|
||||
}
|
||||
|
||||
_resultVarNumber = fetchScriptWord();
|
||||
if (_resultVarNumber & 0x2000) {
|
||||
a = fetchScriptWord();
|
||||
|
Loading…
Reference in New Issue
Block a user