aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/resource.cpp6
-rw-r--r--engines/saga/resource_res.cpp2
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/saga/resource.cpp b/engines/saga/resource.cpp
index 8d73a9b765..578ce2d5ab 100644
--- a/engines/saga/resource.cpp
+++ b/engines/saga/resource.cpp
@@ -117,7 +117,7 @@ bool ResourceContext::load(SagaEngine *vm, Resource *resource) {
// Skip the MacBinary headers, and read the resource data.
return loadRes(MAC_BINARY_HEADER_SIZE, macDataSize);
} else {
- // Unpack MacBinady packed MIDI files
+ // Unpack MacBinary packed MIDI files
return loadMacMIDI();
}
}
@@ -127,9 +127,9 @@ bool ResourceContext::load(SagaEngine *vm, Resource *resource) {
processPatches(resource, vm->getPatchDescriptions());
- // Close the file if it's part of a series of files
+ // Close the file if it's part of a series of files.
// This prevents having all voice files open in IHNM for no reason, as each chapter uses
- // a different voice file
+ // a different voice file.
if (_serial > 0)
_file.close();
diff --git a/engines/saga/resource_res.cpp b/engines/saga/resource_res.cpp
index 9e4b6a2e63..2cc12747af 100644
--- a/engines/saga/resource_res.cpp
+++ b/engines/saga/resource_res.cpp
@@ -50,8 +50,6 @@ void Resource_RES::loadGlobalResources(int chapter, int actorsEntrance) {
_vm->_script->_globalVoiceLUT.clear();
- // TODO: close chapter context, or rather reassign it in our case
-
ResourceContext *resourceContext;
ResourceContext *soundContext;
uint i;