diff options
Diffstat (limited to 'backends/sdl/sdl.cpp')
-rw-r--r-- | backends/sdl/sdl.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index 783238f802..fb798caacb 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -151,10 +151,18 @@ void OSystem_SDL::setFeatureState(Feature f, bool enable) { hotswap_gfx_mode(); #ifdef USE_OSD + char buffer[128]; if (_adjustAspectRatio) - displayMessageOnOSD("Enabled aspect ratio correction"); + sprintf(buffer, "Enabled aspect ratio correction\n%d x %d -> %d x %d", + _screenWidth, _screenHeight, + _hwscreen->w, _hwscreen->h + ); else - displayMessageOnOSD("Disabled aspect ratio correction"); + 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 |