* [Qemu-devel] [6898] musicpal: Fix regression caused by 6839 (Jan Kiszka)
@ 2009-03-28 17:28 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-03-28 17:28 UTC (permalink / raw)
To: qemu-devel
Revision: 6898
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6898
Author: aliguori
Date: 2009-03-28 17:28:53 +0000 (Sat, 28 Mar 2009)
Log Message:
-----------
musicpal: Fix regression caused by 6839 (Jan Kiszka)
Pass correct DisplayState field to is_surface_bgr().
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/hw/musicpal.c
Modified: trunk/hw/musicpal.c
===================================================================
--- trunk/hw/musicpal.c 2009-03-28 17:28:49 UTC (rev 6897)
+++ trunk/hw/musicpal.c 2009-03-28 17:28:53 UTC (rev 6898)
@@ -831,7 +831,8 @@
break;
LCD_REFRESH(8, rgb_to_pixel8)
LCD_REFRESH(16, rgb_to_pixel16)
- LCD_REFRESH(32, (is_surface_bgr(s->ds) ? rgb_to_pixel32bgr : rgb_to_pixel32))
+ LCD_REFRESH(32, (is_surface_bgr(s->ds->surface) ?
+ rgb_to_pixel32bgr : rgb_to_pixel32))
default:
cpu_abort(cpu_single_env, "unsupported colour depth %i\n",
ds_get_bits_per_pixel(s->ds));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-28 17:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-28 17:28 [Qemu-devel] [6898] musicpal: Fix regression caused by 6839 (Jan Kiszka) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).