diff --git a/engines/engine.cpp b/engines/engine.cpp index 347fbaba7a2..39e7b48fe05 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -644,10 +644,6 @@ void Engine::openMainMenuDialog() { syncSoundSettings(); } -bool Engine::warnUserAboutUnsupportedGame() { - return warnUserAboutUnsupportedGame(""); -} - bool Engine::warnUserAboutUnsupportedGame(Common::String msg) { if (ConfMan.getBool("enable_unsupported_game_warning")) { GUI::MessageDialog alert(!msg.empty() ? _("WARNING: ") + Common::U32String(msg) + _(" Shall we still run the game?") : diff --git a/engines/engine.h b/engines/engine.h index d3efb48b7ca..b8a252c9ab1 100644 --- a/engines/engine.h +++ b/engines/engine.h @@ -546,8 +546,7 @@ public: * * @return True if the user chooses to start anyway, false otherwise. */ - static bool warnUserAboutUnsupportedGame(); - static bool warnUserAboutUnsupportedGame(Common::String msg); + static bool warnUserAboutUnsupportedGame(Common::String msg = Common::String()); /** * Display an error message to the user that the game is not supported.