* [Qemu-devel] [7086] Allocate enough vram for 24-bit planes.
@ 2009-04-11 16:55 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2009-04-11 16:55 UTC (permalink / raw)
To: qemu-devel
Revision: 7086
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7086
Author: pbrook
Date: 2009-04-11 16:55:44 +0000 (Sat, 11 Apr 2009)
Log Message:
-----------
Allocate enough vram for 24-bit planes.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Modified Paths:
--------------
trunk/hw/tcx.c
Modified: trunk/hw/tcx.c
===================================================================
--- trunk/hw/tcx.c 2009-04-11 14:47:08 UTC (rev 7085)
+++ trunk/hw/tcx.c 2009-04-11 16:55:44 UTC (rev 7086)
@@ -506,7 +506,7 @@
int size;
uint8_t *vram_base;
- vram_offset = qemu_ram_alloc(vram_size);
+ vram_offset = qemu_ram_alloc(vram_size * (1 + 4 + 4));
vram_base = qemu_get_ram_ptr(vram_offset);
s = qemu_mallocz(sizeof(TCXState));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-11 16:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-11 16:55 [Qemu-devel] [7086] Allocate enough vram for 24-bit planes Paul Brook
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).