aboutsummaryrefslogtreecommitdiff
path: root/v3
diff options
context:
space:
mode:
authorRuediger Hanke2002-04-10 20:52:55 +0000
committerRuediger Hanke2002-04-10 20:52:55 +0000
commit371feb712a3fcf3d44519a71665ea550902846b1 (patch)
tree426c5112b5b4988d97f4cbd317f706f96a45843b /v3
parentdb1862a9af3946c3fb1e2a16dacf8e4059ec967a (diff)
downloadscummvm-rg350-371feb712a3fcf3d44519a71665ea550902846b1.tar.gz
scummvm-rg350-371feb712a3fcf3d44519a71665ea550902846b1.tar.bz2
scummvm-rg350-371feb712a3fcf3d44519a71665ea550902846b1.zip
Loom-related Endian bug fix
svn-id: r3903
Diffstat (limited to 'v3')
-rw-r--r--v3/resource_v3.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/v3/resource_v3.cpp b/v3/resource_v3.cpp
index f498862ad3..dc74da751c 100644
--- a/v3/resource_v3.cpp
+++ b/v3/resource_v3.cpp
@@ -131,11 +131,11 @@ void Scumm_v3::readIndexFile() {
_objectOwnerTable[i] &= OF_OWNER_MASK;
}
-#if defined(SCUMM_BIG_ENDIAN)
+/*#if defined(SCUMM_BIG_ENDIAN)
for (i=0; i<num; i++) {
_classData[i] = FROM_LE_32(_classData[i]);
}
-#endif
+#endif*/
break;
default:
@@ -148,9 +148,7 @@ void Scumm_v3::readIndexFile() {
}
void Scumm_v3::loadCharset(int no){
- uint32 size;
-
- memset(_charsetData, 0, sizeof(_charsetData));
+ uint32 size; memset(_charsetData, 0, sizeof(_charsetData));
checkRange(4 ,0 ,no , "Loading illegal charset %d");
openRoom(-1);