summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-01-03 15:13:08 +0000
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-01-03 15:30:42 +0000
commite0f16f155490f5d0940497118a061106b16b6cdf (patch)
tree065bb206ca65e095054c153b72ef12df66e08a02
parent09ccee14d42e0cd0d5cb94a0883d187b2790addb (diff)
downloadQemuMacDrivers-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.c2
-rw-r--r--builds/qemu_vga.ndrvbin18752 -> 18752 bytes
-rw-r--r--builds/qemu_vga_debugosi.ndrvbin21312 -> 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
index 4197767..de81cfd 100644
--- a/builds/qemu_vga.ndrv
+++ b/builds/qemu_vga.ndrv
Binary files differ
diff --git a/builds/qemu_vga_debugosi.ndrv b/builds/qemu_vga_debugosi.ndrv
index b4036c0..d98c264 100644
--- a/builds/qemu_vga_debugosi.ndrv
+++ b/builds/qemu_vga_debugosi.ndrv
Binary files differ