aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-30 14:37:42 +0000
committerTorbjörn Andersson2003-09-30 14:37:42 +0000
commitda1b4f1e3627a6baf242457cb9c69328a7f899f0 (patch)
treeb523a0e56d0122620062b206fc02d642f2c66b85 /sword2/driver
parent457f888ea7c6dc7cefc7491c5fc74b057f7ef1eb (diff)
downloadscummvm-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/driver')
-rw-r--r--sword2/driver/d_draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp
index 18dbaccf62..eaec82e37e 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -235,7 +235,7 @@ int32 PlaySmacker(char *filename, _movieTextObject *text[], uint8 *musicOut) {
CreateSurface(&msgSprite, &msgSurface);
DrawSurface(&msgSprite, msgSurface);
DeleteSurface(msgSurface);
- Free_mem(data);
+ memory.freeMemory(data);
// In case the cutscene has a long lead-in, start just before
// the first line of text.