aboutsummaryrefslogtreecommitdiff
path: root/sword1/resman.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-12-16 09:43:08 +0000
committerJonathan Gray2003-12-16 09:43:08 +0000
commit83e9c59327d695b4bf2e0d8ae6661b25042ff750 (patch)
tree321f416f99654f03f69a4185996dbb29b9e8ac84 /sword1/resman.cpp
parent9673833d97135fd9b5af5f3457f11babcba59d72 (diff)
downloadscummvm-rg350-83e9c59327d695b4bf2e0d8ae6661b25042ff750.tar.gz
scummvm-rg350-83e9c59327d695b4bf2e0d8ae6661b25042ff750.tar.bz2
scummvm-rg350-83e9c59327d695b4bf2e0d8ae6661b25042ff750.zip
compilation fixes
svn-id: r11679
Diffstat (limited to 'sword1/resman.cpp')
-rw-r--r--sword1/resman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/resman.cpp b/sword1/resman.cpp
index 9dd37c74fa..7a07747526 100644
--- a/sword1/resman.cpp
+++ b/sword1/resman.cpp
@@ -173,7 +173,7 @@ void ResMan::resOpen(uint32 id) { // load resource ID into memory
if (memHandle->cond == MEM_FREED) { // memory has been freed
uint32 size = resLength(id);
_memMan->alloc(memHandle, size);
- uint8 *dest = (uint8*)memHandle->data;
+ // uint8 *dest = (uint8*)memHandle->data;
File *clusFile = openClusterFile(id);
clusFile->seek( resOffset(id) );
clusFile->read( memHandle->data, size);
@@ -280,7 +280,7 @@ void ResMan::openCptResourceBigEndian(uint32 id) {
void ResMan::openScriptResourceBigEndian(uint32 id) {
resOpen(id);
BsMemHandle *handle = resHandle(id);
- uint32 totSize = handle->size;
+ // uint32 totSize = handle->size;
Header *head = (Header*)handle->data;
head->comp_length = FROM_LE_32(head->comp_length);
head->decomp_length = FROM_LE_32(head->decomp_length);