Commit 467a069a authored by Patrice Mandin's avatar Patrice Mandin

Disable Centscreen screensaver

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401106
parent 65074355
......@@ -86,6 +86,11 @@ void SDL_XBIOS_CentscreenSetmode(_THIS, int width, int height, int planes)
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment