diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-11 16:55:44 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-11 16:55:44 +0000 |
commit | 50daa09b5bc11ce99a1da32f0b11d6585af360d6 (patch) | |
tree | 52de5f69b04df5819451c6432b80550375cfb013 | |
parent | 9a812f976bf69514ace67559506e9c2ef0d4c125 (diff) | |
download | qemu-50daa09b5bc11ce99a1da32f0b11d6585af360d6.tar.gz qemu-50daa09b5bc11ce99a1da32f0b11d6585af360d6.tar.bz2 qemu-50daa09b5bc11ce99a1da32f0b11d6585af360d6.zip |
Allocate enough vram for 24-bit planes.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7086 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | hw/tcx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |