Commit af2f67333f0b45b3f95103f580752f3f0514cf8f
1 parent
bdd5003a
Fix -nographic on Arm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1747 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
1 deletions
hw/pl110.c
| ... | ... | @@ -109,6 +109,8 @@ void pl110_update_display(void *opaque) |
| 109 | 109 | return; |
| 110 | 110 | |
| 111 | 111 | switch (s->ds->depth) { |
| 112 | + case 0: | |
| 113 | + return; | |
| 112 | 114 | case 8: |
| 113 | 115 | fntable = pl110_draw_fn_8; |
| 114 | 116 | dest_width = 1; |
| ... | ... | @@ -130,7 +132,7 @@ void pl110_update_display(void *opaque) |
| 130 | 132 | dest_width = 4; |
| 131 | 133 | break; |
| 132 | 134 | default: |
| 133 | - fprintf(stderr, "qemu: Bad color depth\n"); | |
| 135 | + fprintf(stderr, "pl110: Bad color depth\n"); | |
| 134 | 136 | exit(1); |
| 135 | 137 | } |
| 136 | 138 | if (s->cr & PL110_CR_BEBO) | ... | ... |