diff options
author | Lars Persson | 2008-08-18 18:16:24 +0000 |
---|---|---|
committer | Lars Persson | 2008-08-18 18:16:24 +0000 |
commit | ca3dcdfd4e5816fd825e6f77789450f721bf22a4 (patch) | |
tree | 74bcfb12c832fbb326be96a0235118b1000e7a69 | |
parent | f57e600fa586d45986261862d4cee44fd649468a (diff) | |
download | scummvm-rg350-ca3dcdfd4e5816fd825e6f77789450f721bf22a4.tar.gz scummvm-rg350-ca3dcdfd4e5816fd825e6f77789450f721bf22a4.tar.bz2 scummvm-rg350-ca3dcdfd4e5816fd825e6f77789450f721bf22a4.zip |
Do Deinit of pixel buffer when hiding menu.That saves 600KB in VGA games for low memory devices.
svn-id: r34000
-rw-r--r-- | gui/ThemeClassic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeClassic.cpp b/gui/ThemeClassic.cpp index be17cf0d09..5916cba587 100644 --- a/gui/ThemeClassic.cpp +++ b/gui/ThemeClassic.cpp @@ -114,7 +114,7 @@ void ThemeClassic::enable() { } void ThemeClassic::disable() { - _system->hideOverlay(); + deinit(); _enabled = false; } |