aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/engine.cpp')
-rw-r--r--engines/engine.cpp9
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();