diff options
author | Max Horn | 2008-09-30 12:58:27 +0000 |
---|---|---|
committer | Max Horn | 2008-09-30 12:58:27 +0000 |
commit | 6aa12974bd0aaff41e5a39ea032a849e4e0f615b (patch) | |
tree | e9364773598a35933d0bc5bb589c01d4242da84c /engines/saga/rscfile.cpp | |
parent | ae8c0857b9dcaf16065482c47cd4e5d0873585bc (diff) | |
download | scummvm-rg350-6aa12974bd0aaff41e5a39ea032a849e4e0f615b.tar.gz scummvm-rg350-6aa12974bd0aaff41e5a39ea032a849e4e0f615b.tar.bz2 scummvm-rg350-6aa12974bd0aaff41e5a39ea032a849e4e0f615b.zip |
SAGA: Some code cleanup
svn-id: r34703
Diffstat (limited to 'engines/saga/rscfile.cpp')
-rw-r--r-- | engines/saga/rscfile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp index 345e85a903..578d0d91c6 100644 --- a/engines/saga/rscfile.cpp +++ b/engines/saga/rscfile.cpp @@ -309,8 +309,8 @@ bool Resource::loadContext(ResourceContext *context) { for (i = 0; i < tableSize / 8; i++) { subjectResourceId = readS2.readUint32(); patchResourceId = readS2.readUint32(); - subjectResourceData = getResourceData(subjectContext, subjectResourceId); - resourceData = getResourceData(context, patchResourceId); + subjectResourceData = subjectContext->getResourceData(subjectResourceId); + resourceData = context->getResourceData(patchResourceId); subjectResourceData->patchData = new PatchData(context->file); subjectResourceData->offset = resourceData->offset; subjectResourceData->size = resourceData->size; @@ -632,7 +632,7 @@ void Resource::loadResource(ResourceContext *context, uint32 resourceId, byte*&r debug(8, "loadResource %d", resourceId); - resourceData = getResourceData(context, resourceId); + resourceData = context->getResourceData(resourceId); file = context->getFile(resourceData); |