diff options
author | Johannes Schickel | 2010-12-08 01:35:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-12-08 01:35:34 +0000 |
commit | e361b84d3baeeb683889e3131e3d05d564f08cc4 (patch) | |
tree | 6bd0584d8041d615ff2ddb973dccce20e87b70b9 | |
parent | d451084fb44a536d0f161bccb5b73088df253c9c (diff) | |
download | scummvm-rg350-e361b84d3baeeb683889e3131e3d05d564f08cc4.tar.gz scummvm-rg350-e361b84d3baeeb683889e3131e3d05d564f08cc4.tar.bz2 scummvm-rg350-e361b84d3baeeb683889e3131e3d05d564f08cc4.zip |
BACKENDS: Fix OSD implementation in ModularBackend.
svn-id: r54828
-rw-r--r-- | backends/modular-backend.cpp | 5 | ||||
-rw-r--r-- | common/system.h | 5 |
2 files changed, 3 insertions, 7 deletions
diff --git a/backends/modular-backend.cpp b/backends/modular-backend.cpp index 8067c31323..df3d631007 100644 --- a/backends/modular-backend.cpp +++ b/backends/modular-backend.cpp @@ -264,12 +264,7 @@ AudioCDManager *ModularBackend::getAudioCDManager() { } void ModularBackend::displayMessageOnOSD(const char *msg) { -#ifdef USE_OSD _graphicsManager->displayMessageOnOSD(msg); -#else - GUI::TimedMessageDialog dialog(msg, 1500); - dialog.runModal(); -#endif } Common::SaveFileManager *ModularBackend::getSavefileManager() { diff --git a/common/system.h b/common/system.h index 54c6fa8df7..97fe582813 100644 --- a/common/system.h +++ b/common/system.h @@ -987,8 +987,9 @@ public: * * Currently, only pure ASCII messages can be expected to show correctly. * - * @note There is a default implementation which uses a TimedMessageDialog - * to display the message. Hence implementing this is optional. + * @note There is a default implementation in BaseBackend which uses a + * TimedMessageDialog to display the message. Hence implementing + * this is optional. * * @param msg the message to display on screen */ |