diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2019-01-03 15:13:08 +0000 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2019-01-03 15:30:42 +0000 |
commit | e0f16f155490f5d0940497118a061106b16b6cdf (patch) | |
tree | 065bb206ca65e095054c153b72ef12df66e08a02 | |
parent | 09ccee14d42e0cd0d5cb94a0883d187b2790addb (diff) | |
download | QemuMacDrivers-e0f16f155490f5d0940497118a061106b16b6cdf.zip QemuMacDrivers-e0f16f155490f5d0940497118a061106b16b6cdf.tar.gz QemuMacDrivers-e0f16f155490f5d0940497118a061106b16b6cdf.tar.bz2 |
QemuVGADriver: fix 256 color mode
Commit a034960 accidentally introduced a copy/paste error in DepthModeToDepth() which
prevented setting 256 color mode correctly.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
-rw-r--r-- | QemuVGADriver/src/DriverQDCalls.c | 2 | ||||
-rw-r--r-- | builds/qemu_vga.ndrv | bin | 18752 -> 18752 bytes | |||
-rw-r--r-- | builds/qemu_vga_debugosi.ndrv | bin | 21312 -> 21312 bytes |
3 files changed, 1 insertions, 1 deletions
diff --git a/QemuVGADriver/src/DriverQDCalls.c b/QemuVGADriver/src/DriverQDCalls.c index 80f8d2c..fdfc043 100644 --- a/QemuVGADriver/src/DriverQDCalls.c +++ b/QemuVGADriver/src/DriverQDCalls.c @@ -25,7 +25,7 @@ static UInt8 DepthModeToDepth(UInt8 mode) { switch (mode) { case kDepthMode1: - return 32; + return 8; case kDepthMode2: return 15; case kDepthMode3: diff --git a/builds/qemu_vga.ndrv b/builds/qemu_vga.ndrv Binary files differindex 4197767..de81cfd 100644 --- a/builds/qemu_vga.ndrv +++ b/builds/qemu_vga.ndrv diff --git a/builds/qemu_vga_debugosi.ndrv b/builds/qemu_vga_debugosi.ndrv Binary files differindex b4036c0..d98c264 100644 --- a/builds/qemu_vga_debugosi.ndrv +++ b/builds/qemu_vga_debugosi.ndrv |