Fix -nographic on Arm.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1747 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
pbrook 2006-02-06 16:05:19 +00:00
parent bdd5003ae5
commit af2f67333f
1 changed files with 3 additions and 1 deletions

View 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)