|
|
|
@ -248,7 +248,6 @@ static void SDLash_KeyEvent( SDL_KeyboardEvent key )
@@ -248,7 +248,6 @@ static void SDLash_KeyEvent( SDL_KeyboardEvent key )
|
|
|
|
|
case SDL_SCANCODE_COMMA: keynum = ','; break; |
|
|
|
|
case SDL_SCANCODE_PRINTSCREEN: |
|
|
|
|
{ |
|
|
|
|
host.force_draw_version = true; |
|
|
|
|
host.force_draw_version_time = host.realtime + FORCE_DRAW_VERSION_TIME; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
@ -374,7 +373,6 @@ static void SDLash_ActiveEvent( int gain )
@@ -374,7 +373,6 @@ static void SDLash_ActiveEvent( int gain )
|
|
|
|
|
{ |
|
|
|
|
SNDDMA_Activate( true ); |
|
|
|
|
} |
|
|
|
|
host.force_draw_version = true; |
|
|
|
|
host.force_draw_version_time = host.realtime + FORCE_DRAW_VERSION_TIME; |
|
|
|
|
if( vid_fullscreen->value ) |
|
|
|
|
VID_SetMode(); |
|
|
|
@ -398,8 +396,7 @@ static void SDLash_ActiveEvent( int gain )
@@ -398,8 +396,7 @@ static void SDLash_ActiveEvent( int gain )
|
|
|
|
|
{ |
|
|
|
|
SNDDMA_Activate( false ); |
|
|
|
|
} |
|
|
|
|
host.force_draw_version = true; |
|
|
|
|
host.force_draw_version_time = host.realtime + 2; |
|
|
|
|
host.force_draw_version_time = host.realtime + 2.0; |
|
|
|
|
VID_RestoreScreenResolution(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -626,7 +623,6 @@ static void SDLash_EventFilter( SDL_Event *event )
@@ -626,7 +623,6 @@ static void SDLash_EventFilter( SDL_Event *event )
|
|
|
|
|
break; |
|
|
|
|
case SDL_WINDOWEVENT_RESTORED: |
|
|
|
|
host.status = HOST_FRAME; |
|
|
|
|
host.force_draw_version = true; |
|
|
|
|
host.force_draw_version_time = host.realtime + FORCE_DRAW_VERSION_TIME; |
|
|
|
|
if( vid_fullscreen->value ) |
|
|
|
|
VID_SetMode(); |
|
|
|
|