diff options
author | Eugene Sandulenko | 2005-03-30 21:59:12 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-03-30 21:59:12 +0000 |
commit | 7ae3da082ebedfc76a8b2b62278d24799a31dd10 (patch) | |
tree | fae1c641912def806b80988b143490917f86c28d /scumm/script_v6.cpp | |
parent | 63911718ee6d1c4c25d70c710d1d80e7747bb103 (diff) | |
download | scummvm-rg350-7ae3da082ebedfc76a8b2b62278d24799a31dd10.tar.gz scummvm-rg350-7ae3da082ebedfc76a8b2b62278d24799a31dd10.tar.bz2 scummvm-rg350-7ae3da082ebedfc76a8b2b62278d24799a31dd10.zip |
Support for direct reading from NES ROM:
o extend MemoryReadStream with XOR facility
o implement MemoryWriteStream
o _fileHandle now is a reference to BaseScummFile class and is created on the fly
o implement ScummNESFile class which is basically extract_mm_nes utility
o update NES MM md5's due to above changes
NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename
ROM to standard conventional name 'Maniac Mansion (XXX).nes'
svn-id: r17300
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 4140834325..ef7790c83a 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -569,10 +569,10 @@ void ScummEngine_v6::readArrayFromIndexFile() { int num; int a, b, c; - while ((num = _fileHandle.readUint16LE()) != 0) { - a = _fileHandle.readUint16LE(); - b = _fileHandle.readUint16LE(); - c = _fileHandle.readUint16LE(); + while ((num = _fileHandle->readUint16LE()) != 0) { + a = _fileHandle->readUint16LE(); + b = _fileHandle->readUint16LE(); + c = _fileHandle->readUint16LE(); if (c == kBitArray) defineArray(num, kBitArray, a, b); else |