summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-21 18:56:08 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-21 18:56:08 +0100
commite7a0a24fa88e369eb3d345573200955e99324156 (patch)
treeafe3d9481f9851da9c26cbd6656b5299d7ea72a2 /Source/Kernel/Devices
parenta975053605a0f041fd2003792d81c80391527e71 (diff)
downloadMelon-e7a0a24fa88e369eb3d345573200955e99324156.tar.gz
Melon-e7a0a24fa88e369eb3d345573200955e99324156.zip
More work on the status bar
Diffstat (limited to 'Source/Kernel/Devices')
-rw-r--r--Source/Kernel/Devices/Display/VESADisplay.class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Kernel/Devices/Display/VESADisplay.class.cpp b/Source/Kernel/Devices/Display/VESADisplay.class.cpp
index d06aaee..11b0882 100644
--- a/Source/Kernel/Devices/Display/VESADisplay.class.cpp
+++ b/Source/Kernel/Devices/Display/VESADisplay.class.cpp
@@ -109,7 +109,7 @@ bool VESADisplay::setMode(mode_t &mode) {
regs.ax = 0x4F02;
regs.bx = mode.identifier | 0x4000;
V86::biosInt(0x10, regs);
- if (regs.ax != 0x004F) return false;
+ if ((regs.ax & 0xFF00) != 0) return false;
if (m_currMode.bpp == 8) {
//Set palette to 8 bit