diff options
author | Max Horn | 2004-07-16 09:29:09 +0000 |
---|---|---|
committer | Max Horn | 2004-07-16 09:29:09 +0000 |
commit | f2f1687988d9d83cbaa5f0911921fb73aba7d127 (patch) | |
tree | 5c9df1a54f7d8c3bd63d08a5c907a243208f57f7 /backends/sdl/sdl.cpp | |
parent | 613642efd01b0c4bbbdc167cc85abdc5e4fde549 (diff) | |
download | scummvm-rg350-f2f1687988d9d83cbaa5f0911921fb73aba7d127.tar.gz scummvm-rg350-f2f1687988d9d83cbaa5f0911921fb73aba7d127.tar.bz2 scummvm-rg350-f2f1687988d9d83cbaa5f0911921fb73aba7d127.zip |
Only show gfx mode change messages in the OSD if the change was initiated by the user; not if it was done automatically (e.g. because a 640x480 game was started and we auto-switch to 1x scaling)
svn-id: r14223
Diffstat (limited to 'backends/sdl/sdl.cpp')
-rw-r--r-- | backends/sdl/sdl.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index 2acfa27526..a15978f791 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -163,21 +163,6 @@ void OSystem_SDL::setFeatureState(Feature f, bool enable) { _adjustAspectRatio ^= true; hotswap_gfx_mode(); -#ifdef USE_OSD - char buffer[128]; - if (_adjustAspectRatio) - sprintf(buffer, "Enabled aspect ratio correction\n%d x %d -> %d x %d", - _screenWidth, _screenHeight, - _hwscreen->w, _hwscreen->h - ); - else - sprintf(buffer, "Disabled aspect ratio correction\n%d x %d -> %d x %d", - _screenWidth, _screenHeight, - _hwscreen->w, _hwscreen->h - ); - displayMessageOnOSD(buffer); -#endif - // Blit everything to the screen internUpdateScreen(); |