Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Adapted Libretro backend to last upstream changes
Browse files Browse the repository at this point in the history
Disabled some new code for Scumm engine that prevented the user from quitting a game
  • Loading branch information
DrUm78 committed Oct 21, 2022
1 parent 12b54db commit 21201c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions backends/platform/libretro/portdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <stdarg.h>
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <new>

Expand Down
4 changes: 2 additions & 2 deletions engines/scumm/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ void ScummEngine::parseEvent(Common::Event event) {
if (isUsingOriginalGUI() && _mainMenuIsActive)
openMainMenuDialog();
break;
case Common::EVENT_RETURN_TO_LAUNCHER:
/*case Common::EVENT_RETURN_TO_LAUNCHER:
case Common::EVENT_QUIT:
if (isUsingOriginalGUI()) {
if (!_quitByGUIPrompt && !_mainMenuIsActive) {
Expand All @@ -267,7 +267,7 @@ void ScummEngine::parseEvent(Common::Event event) {
quitGame();
}
}
break;
break;*/
default:
break;
}
Expand Down

0 comments on commit 21201c2

Please sign in to comment.