diff options
author | Torbjörn Andersson | 2003-09-30 14:37:42 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-30 14:37:42 +0000 |
commit | da1b4f1e3627a6baf242457cb9c69328a7f899f0 (patch) | |
tree | b523a0e56d0122620062b206fc02d642f2c66b85 /sword2/anims.cpp | |
parent | 457f888ea7c6dc7cefc7491c5fc74b057f7ef1eb (diff) | |
download | scummvm-rg350-da1b4f1e3627a6baf242457cb9c69328a7f899f0.tar.gz scummvm-rg350-da1b4f1e3627a6baf242457cb9c69328a7f899f0.tar.bz2 scummvm-rg350-da1b4f1e3627a6baf242457cb9c69328a7f899f0.zip |
Moved the memory manager functions into an object of its own (and enabled
debugging levels). This needs further cleanups, but I believe I have
reached a stable point where I can commit it without too much anxiety.
svn-id: r10502
Diffstat (limited to 'sword2/anims.cpp')
-rw-r--r-- | sword2/anims.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/anims.cpp b/sword2/anims.cpp index 7eae4971d8..a06d3b7c20 100644 --- a/sword2/anims.cpp +++ b/sword2/anims.cpp @@ -603,7 +603,7 @@ void CreateSequenceSpeech(_movieTextObject *sequenceText[]) { // if we've made a text sprite for this line... if (sequence_text_list[line].text_mem) { - Lock_mem(sequence_text_list[line].text_mem); + memory.lockMemory(sequence_text_list[line].text_mem); // now fill out the _spriteInfo structure in the // _movieTextObjectStructure @@ -642,7 +642,7 @@ void ClearSequenceSpeech(_movieTextObject *textSprites[]) { // free up the mem block containing this text sprite if (sequence_text_list[line].text_mem) - Free_mem(sequence_text_list[line].text_mem); + memory.freeMemory(sequence_text_list[line].text_mem); // free up the mem block containing this speech sample if (sequence_text_list[line].speech_mem) |