More savegame-endianness fixes :/
svn-id: r33222
This commit is contained in:
parent
a5ebc88dbc
commit
5544e180a3
8 changed files with 112 additions and 63 deletions
|
@ -147,6 +147,15 @@ void GobEngine::validateVideoMode(int16 videoMode) {
|
|||
error("Video mode 0x%X is not supported!", videoMode);
|
||||
}
|
||||
|
||||
Endianness GobEngine::getEndianness() const {
|
||||
if ((_vm->getPlatform() == Common::kPlatformAmiga) ||
|
||||
(_vm->getPlatform() == Common::kPlatformMacintosh) ||
|
||||
(_vm->getPlatform() == Common::kPlatformAtariST))
|
||||
return kEndiannessBE;
|
||||
|
||||
return kEndiannessLE;
|
||||
}
|
||||
|
||||
Common::Platform GobEngine::getPlatform() const {
|
||||
return _platform;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue