ENGINES: Remove redundant overload
This commit is contained in:
parent
cf87555c85
commit
94f0fe722f
2 changed files with 1 additions and 6 deletions
|
@ -644,10 +644,6 @@ void Engine::openMainMenuDialog() {
|
||||||
syncSoundSettings();
|
syncSoundSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Engine::warnUserAboutUnsupportedGame() {
|
|
||||||
return warnUserAboutUnsupportedGame("");
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Engine::warnUserAboutUnsupportedGame(Common::String msg) {
|
bool Engine::warnUserAboutUnsupportedGame(Common::String msg) {
|
||||||
if (ConfMan.getBool("enable_unsupported_game_warning")) {
|
if (ConfMan.getBool("enable_unsupported_game_warning")) {
|
||||||
GUI::MessageDialog alert(!msg.empty() ? _("WARNING: ") + Common::U32String(msg) + _(" Shall we still run the game?") :
|
GUI::MessageDialog alert(!msg.empty() ? _("WARNING: ") + Common::U32String(msg) + _(" Shall we still run the game?") :
|
||||||
|
|
|
@ -546,8 +546,7 @@ public:
|
||||||
*
|
*
|
||||||
* @return True if the user chooses to start anyway, false otherwise.
|
* @return True if the user chooses to start anyway, false otherwise.
|
||||||
*/
|
*/
|
||||||
static bool warnUserAboutUnsupportedGame();
|
static bool warnUserAboutUnsupportedGame(Common::String msg = Common::String());
|
||||||
static bool warnUserAboutUnsupportedGame(Common::String msg);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display an error message to the user that the game is not supported.
|
* Display an error message to the user that the game is not supported.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue