diff options
-rw-r--r-- | src/savage_vbe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/savage_vbe.c b/src/savage_vbe.c index f7fb8f2..0c19fd8 100644 --- a/src/savage_vbe.c +++ b/src/savage_vbe.c @@ -290,8 +290,7 @@ int SavageGetDevice( SavagePtr psav ) xf86ExecX86int10( psav->pVbe->pInt10 ); - /* obey the "dual" bit at the MSB position by adding 0x80 to the mask */ - return ((psav->pVbe->pInt10->cx) & 0x87); /* mask was 0xf, but active devices are only in the three lower bits */ + return (psav->pVbe->pInt10->cx) & (DUO_ON | ACTIVE_DEVICES); } /* Function to get TV format. */ |