From 761536b06fd302dfd58d35f3a455b603455abd42 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 26 Jun 2019 15:43:58 -0700 Subject: [PATCH] Qt: Show error message if file failed to load --- CHANGES | 1 + src/platform/qt/Window.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 322565353..13122ad1c 100644 --- a/CHANGES +++ b/CHANGES @@ -15,6 +15,7 @@ Other fixes: - mGUI: Fix crash if last loaded ROM directory disappears (fixes mgba.io/i/1466) Misc: - Qt: Make mute menu option also toggle fast-forward mute (fixes mgba.io/i/1424) + - Qt: Show error message if file failed to load 0.7.2: (2019-05-25) Emulation fixes: diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index 9b308b89b..17092b606 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -1866,6 +1866,7 @@ void Window::updateFrame() { void Window::setController(CoreController* controller, const QString& fname) { if (!controller) { + gameFailed(); return; }