aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2015-01-30 07:10:54 +0100
committerStrangerke2015-01-30 07:10:54 +0100
commit817730c360b174bffe7e49f2e5d00ac19bc820bb (patch)
treed89021d517a75a55d26cc58d0b93732f1e0a3e9d /engines/access
parente85788ffdce741c90ac8a6cfc9b1bee298c4c269 (diff)
downloadscummvm-rg350-817730c360b174bffe7e49f2e5d00ac19bc820bb.tar.gz
scummvm-rg350-817730c360b174bffe7e49f2e5d00ac19bc820bb.tar.bz2
scummvm-rg350-817730c360b174bffe7e49f2e5d00ac19bc820bb.zip
ACCESS: MM - Implement missing bits of CharEntry
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/char.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/engines/access/char.cpp b/engines/access/char.cpp
index d2b1aa65cd..b3b026b6c9 100644
--- a/engines/access/char.cpp
+++ b/engines/access/char.cpp
@@ -31,17 +31,12 @@ CharEntry::CharEntry(const byte *data, AccessEngine *vm) {
Common::MemoryReadStream s(data, 999);
_charFlag = s.readByte();
- if (vm->getGameID() == GType_MartianMemorandum)
- _estabIndex = -1;
- else
- _estabIndex = s.readSint16LE();
-
- _screenFile.load(s);
-
if (vm->getGameID() == GType_MartianMemorandum) {
- int idx = s.readSint16LE();
- if (idx != -1)
- warning("TODO: more CharEntry");
+ _screenFile.load(s);
+ _estabIndex = s.readSint16LE();
+ } else {
+ _estabIndex = s.readSint16LE();
+ _screenFile.load(s);
}
_paletteFile.load(s);