diff options
Diffstat (limited to 'engines/hugo/display.cpp')
-rw-r--r-- | engines/hugo/display.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/engines/hugo/display.cpp b/engines/hugo/display.cpp index 69ca06467e..f2c4990f66 100644 --- a/engines/hugo/display.cpp +++ b/engines/hugo/display.cpp @@ -585,17 +585,12 @@ void Screen::loadPalette(Common::ReadStream &in) { } /** - * Free main and current palettes + * Free fonts, main and current palettes */ -void Screen::freePalette() { +void Screen::freeScreen() { free(_curPalette); free(_mainPalette); -} -/** - * Free fonts - */ -void Screen::freeFonts() { for (int i = 0; i < kNumFonts; i++) { if (_arrayFont[i]) free(_arrayFont[i]); |