diff options
author | Filippos Karapetis | 2015-02-19 15:46:34 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-15 00:05:02 +0100 |
commit | 95461c91616eda80b33cfec3597f8c3243748a89 (patch) | |
tree | a83926cf630fd3dd504d6ccd7848fa25bac6e14b /engines/lab | |
parent | 66486895906b18ef4c299496c7fd7e5963f7155b (diff) | |
download | scummvm-rg350-95461c91616eda80b33cfec3597f8c3243748a89.tar.gz scummvm-rg350-95461c91616eda80b33cfec3597f8c3243748a89.tar.bz2 scummvm-rg350-95461c91616eda80b33cfec3597f8c3243748a89.zip |
LAB: Remove the journalCleanUp() wrapper
Diffstat (limited to 'engines/lab')
-rw-r--r-- | engines/lab/special.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp index 495fe455c4..3909d974b0 100644 --- a/engines/lab/special.cpp +++ b/engines/lab/special.cpp @@ -888,17 +888,6 @@ static void processJournal() { /*****************************************************************************/ -/* Cleans up behind all memory allocations. */ -/*****************************************************************************/ -static void journalCleanUp(void) { - freeAllStolenMem(); -} - - - - - -/*****************************************************************************/ /* Does the journal processing. */ /*****************************************************************************/ void doJournal() { @@ -936,7 +925,7 @@ void doJournal() { rectFill(0, 0, VGAScreenWidth - 1, VGAScreenHeight - 1); blackScreen(); - journalCleanUp(); + freeAllStolenMem(); ungetVGABaseAddr(); } @@ -1002,8 +991,6 @@ bool saveRestoreGame(void) { blackScreen(); WSDL_UpdateScreen(); - journalCleanUp(); - freeAllStolenMem(); return true; |