diff options
author | Filippos Karapetis | 2011-01-31 11:45:24 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-01-31 11:45:24 +0000 |
commit | 83d7ac7e1f61f2cdf50024a234ffd5e996855f44 (patch) | |
tree | df4cb589244282732a0bbf1b415840256039cb3f | |
parent | 8bd7ace4d277e68ee0cdf7d6ab275d08d432ddde (diff) | |
download | scummvm-rg350-83d7ac7e1f61f2cdf50024a234ffd5e996855f44.tar.gz scummvm-rg350-83d7ac7e1f61f2cdf50024a234ffd5e996855f44.tar.bz2 scummvm-rg350-83d7ac7e1f61f2cdf50024a234ffd5e996855f44.zip |
SAGA: Fixed some typos, and removed an obsolete comment
svn-id: r55679
-rw-r--r-- | engines/saga/resource.cpp | 6 | ||||
-rw-r--r-- | engines/saga/resource_res.cpp | 2 |
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; |