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_v72he.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_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index d29f472719..42ad8dab1f 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -506,10 +506,10 @@ void ScummEngine_v72he::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 == 1) defineArray(num, kBitArray, 0, a, 0, b); |