author | Patrice Mandin <patmandin@gmail.com> |
Fri, 29 Jul 2005 10:59:02 +0000 | |
changeset 1105 | 1c9988e47824 |
parent 1104 | bf145eaf76ef |
child 1106 | 524fd51f5d2c |
--- a/src/video/xbios/SDL_xbios_centscreen.c Wed Jul 27 19:46:59 2005 +0000 +++ b/src/video/xbios/SDL_xbios_centscreen.c Fri Jul 29 10:59:02 2005 +0000 @@ -86,6 +86,11 @@ newmode.physy = height; newmode.plan = planes; Vwrite(0, &newmode, &curmode); + + /* Disable screensaver */ + Vread(&newmode); + newmode.mode &= ~(CSCREEN_SAVER|CSCREEN_ENERGYSTAR); + Vwrite(0, &newmode, &curmode); } void SDL_XBIOS_CentscreenRestore(_THIS, int prev_handle)