mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
fix compilation
This commit is contained in:
parent
7aa79c880d
commit
cbd215fa69
2
Makefile
2
Makefile
@ -35,7 +35,7 @@ ifeq "$(HAVE_GCC)" "1"
|
||||
#CXXFLAGS+= -Wmissing-format-attribute
|
||||
|
||||
# Disable RTTI and exceptions, and enabled checking of pointers returned by "new"
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new
|
||||
CXXFLAGS+= -fno-exceptions -fcheck-new
|
||||
|
||||
# There is a nice extra warning that flags variables that are potentially
|
||||
# used before being initialized. Very handy to catch a certain kind of
|
||||
|
@ -112,13 +112,6 @@ int BrowserDialog::runModal() {
|
||||
|
||||
NavDialogDispose(dialogRef);
|
||||
|
||||
// If we were in fullscreen mode, switch back
|
||||
if (wasFullscreen) {
|
||||
g_system->beginGFXTransaction();
|
||||
g_system->setFeatureState(OSystem::kFeatureFullscreenMode, true);
|
||||
g_system->endGFXTransaction();
|
||||
}
|
||||
|
||||
return choiceMade;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user