mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2025-01-27 02:15:29 +01:00
[SDL] minor tweak
This commit is contained in:
parent
87cb6b8ec7
commit
1cc83a28a2
@ -332,8 +332,7 @@ static int sdl_control_update(SDLKey keystate)
|
|||||||
|
|
||||||
case SDLK_F2:
|
case SDLK_F2:
|
||||||
{
|
{
|
||||||
if (fullscreen) fullscreen = 0;
|
fullscreen = (fullscreen ? 0 : SDL_FULLSCREEN);
|
||||||
else fullscreen = SDL_FULLSCREEN;
|
|
||||||
sdl_video.surf_screen = SDL_SetVideoMode(VIDEO_WIDTH, VIDEO_HEIGHT, 16, SDL_SWSURFACE | fullscreen);
|
sdl_video.surf_screen = SDL_SetVideoMode(VIDEO_WIDTH, VIDEO_HEIGHT, 16, SDL_SWSURFACE | fullscreen);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user