]> git.proxmox.com Git - qemu.git/blobdiff - hw/pl110.c
Fix -nographic on Arm.
[qemu.git] / hw / pl110.c
index 8a4d5807af0568fa29ce7b6ee471757947d46b4f..5a6638cbe572aa3f09e5aae75cbf1afbc4e28256 100644 (file)
@@ -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)