sdl: exit cleanly when scalers are enabled instead of segfaulting
This commit is contained in:
parent
ec43e84f64
commit
d4f6aae2cb
|
@ -347,6 +347,11 @@ InitVideo(FCEUGI *gi)
|
|||
KillVideo();
|
||||
return -1;
|
||||
}
|
||||
if(s_sponge) {
|
||||
FCEUD_PrintError("scalers not openGL compatible.");
|
||||
KillVideo();
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
s_screen = SDL_SetVideoMode((int)(NWIDTH * s_exs),
|
||||
|
|
Loading…
Reference in New Issue