From ffb4be763ced82158a3a1d2e06fb0e81815e057b Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Thu, 13 Nov 2008 20:01:18 -0200 Subject: Don't restore alpha registers, as they are not being modified. Restoring the registers "without need" caused some instability, with random locks. --- src/smi_501.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/smi_501.c b/src/smi_501.c index 6350f65..f1a5804 100644 --- a/src/smi_501.c +++ b/src/smi_501.c @@ -356,7 +356,9 @@ SMI501_WriteMode(ScrnInfoPtr pScrn, MSOCRegPtr restore) SMI501_WriteMode_common(pScrn, restore); SMI501_WriteMode_lcd(pScrn, restore); SMI501_WriteMode_crt(pScrn, restore); +#if SMI_CURSOR_ALPHA_PLANE SMI501_WriteMode_alpha(pScrn, restore); +#endif } void -- cgit v1.2.3