ENGINES: Warn user about games marked with ADGF_UNSTABLE flags

ADGF_UNSTABLE is always warned about.
ADGF_TESTING is only warned about when running
configure with --enable-relase.

Both warnings are subject to the enable_wip_game_warning
config option.
This commit is contained in:
Tarek Soliman 2011-04-25 15:26:38 -05:00
parent 71759eab53
commit 4d0bba314d
10 changed files with 97 additions and 5 deletions

View file

@ -427,7 +427,7 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
#endif
// Did an error occur ?
if (result.getCode() != Common::kNoError) {
if (result.getCode() != Common::kNoError && result.getCode() != Common::kUserCanceled) {
// Shows an informative error dialog if starting the selected game failed.
GUI::displayErrorDialog(result, _("Error running game:"));
}