diff options
author | Thierry Crozat | 2018-07-01 23:57:00 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-07-08 16:54:51 +0100 |
commit | 89f1b1c96eaa8cbb4f4938bd6524cab6c15227c1 (patch) | |
tree | d3fb95fd998ec656b4493fc2d685045881a5f979 /engines | |
parent | adacb4fcfd743aa3980b3e08c62578f32de2d0b3 (diff) | |
download | scummvm-rg350-89f1b1c96eaa8cbb4f4938bd6524cab6c15227c1.tar.gz scummvm-rg350-89f1b1c96eaa8cbb4f4938bd6524cab6c15227c1.tar.bz2 scummvm-rg350-89f1b1c96eaa8cbb4f4938bd6524cab6c15227c1.zip |
GUI: Add Stretch Mode selection in Options dialog
Diffstat (limited to 'engines')
-rw-r--r-- | engines/engine.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp index 99f2713b7f..77ca54ffbb 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -329,6 +329,15 @@ void initGraphics(int width, int height, const Graphics::PixelFormat *format) { dialog.runModal(); } + if (gfxError & OSystem::kTransactionStretchModeSwitchFailed) { + Common::String message = _("Could not switch to stretch mode: '"); + message += ConfMan.get("stretch_mode"); + message += "'."; + + GUI::MessageDialog dialog(message); + dialog.runModal(); + } + if (gfxError & OSystem::kTransactionAspectRatioFailed) { GUI::MessageDialog dialog(_("Could not apply aspect ratio setting.")); dialog.runModal(); |