Commit 472c5273e255f97131e2f75d1e19c93b788ddefd
1 parent
15dcf5aa
Change display colors, the LED bar is green and the text display is red.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2336 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
hw/mips_malta.c
@@ -81,8 +81,8 @@ static void malta_fpga_update_display(void *opaque) | @@ -81,8 +81,8 @@ static void malta_fpga_update_display(void *opaque) | ||
81 | } | 81 | } |
82 | leds_text[8] = '\0'; | 82 | leds_text[8] = '\0'; |
83 | 83 | ||
84 | - qemu_chr_printf(s->display, "\e[H\n\n|\e[31m%-8.8s\e[00m|\r\n", leds_text); | ||
85 | - qemu_chr_printf(s->display, "\n\n\n\n|\e[32m%-8.8s\e[00m|", s->display_text); | 84 | + qemu_chr_printf(s->display, "\e[H\n\n|\e[32m%-8.8s\e[00m|\r\n", leds_text); |
85 | + qemu_chr_printf(s->display, "\n\n\n\n|\e[31m%-8.8s\e[00m|", s->display_text); | ||
86 | } | 86 | } |
87 | 87 | ||
88 | static uint32_t malta_fpga_readl(void *opaque, target_phys_addr_t addr) | 88 | static uint32_t malta_fpga_readl(void *opaque, target_phys_addr_t addr) |