aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdl.cpp b/sdl.cpp
index 23cb9baab8..6ec574b664 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -922,7 +922,8 @@ int main(int argc, char* argv[]) {
long i;
- detecter.detectMain(argc, argv);
+ if(detecter.detectMain(argc, argv))
+ return(-1);
if( detecter._features & GF_AFTER_V7 ) // not final implementation. This is just a test
scumm = new Scumm_v7;