projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5579c7f
)
Allocate enough vram for 24-bit planes.
author
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 11 Apr 2009 16:55:44 +0000
(16:55 +0000)
committer
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 11 Apr 2009 16:55:44 +0000
(16:55 +0000)
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7086
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/tcx.c
patch
|
blob
|
history
diff --git
a/hw/tcx.c
b/hw/tcx.c
index 4aa4b62ad5d17a76d4e42d3387b24dd7715e36e3..f0e8f2fc4d41852d6b7e6488fa7a4f75cd8f7278 100644
(file)
--- a/
hw/tcx.c
+++ b/
hw/tcx.c
@@
-506,7
+506,7
@@
void tcx_init(target_phys_addr_t addr, int vram_size, int width, int height,
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));