summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-06 16:05:19 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-06 16:05:19 +0000
commitaf2f67333f0b45b3f95103f580752f3f0514cf8f (patch)
tree3299cf80ed8eda624b589928417f008eaa474249 /hw
parentbdd5003ae58baf4fb3fde9862630b97b2c1f058c (diff)
downloadqemu-af2f67333f0b45b3f95103f580752f3f0514cf8f.tar.gz
qemu-af2f67333f0b45b3f95103f580752f3f0514cf8f.tar.bz2
qemu-af2f67333f0b45b3f95103f580752f3f0514cf8f.zip
Fix -nographic on Arm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1747 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/pl110.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/pl110.c b/hw/pl110.c
index 8a4d5807af..5a6638cbe5 100644
--- a/hw/pl110.c
+++ b/hw/pl110.c
@@ -109,6 +109,8 @@ void pl110_update_display(void *opaque)
return;
switch (s->ds->depth) {
+ case 0:
+ return;
case 8:
fntable = pl110_draw_fn_8;
dest_width = 1;
@@ -130,7 +132,7 @@ void pl110_update_display(void *opaque)
dest_width = 4;
break;
default:
- fprintf(stderr, "qemu: Bad color depth\n");
+ fprintf(stderr, "pl110: Bad color depth\n");
exit(1);
}
if (s->cr & PL110_CR_BEBO)