From d14f0ccfb51d44e36a8508be7e7795306b785ed8 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 4 Aug 2009 17:22:18 +0000 Subject: Removed the superfluous VGA buffer, replacing it with direct writes to the video buffer svn-id: r43048 --- engines/drascula/drascula.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'engines/drascula/drascula.cpp') diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index 84c2dd8073..46524b03db 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -182,10 +182,6 @@ Common::Error DrasculaEngine::run() { for (;;) { int i; - - VGA = (byte *)malloc(320 * 200); - memset(VGA, 0, 64000); - takeObject = 0; _menuBar = false; _menuScreen = false; @@ -296,7 +292,6 @@ void DrasculaEngine::endChapter() { MusicFadeout(); stopMusic(); freeMemory(); - free(VGA); } bool DrasculaEngine::runCurrentChapter() { -- cgit v1.2.3