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