From 446544909738bbaf7af927ecd5dcef45debc7167 Mon Sep 17 00:00:00 2001 From: pbrook Date: Fri, 10 Apr 2009 00:26:15 +0000 Subject: More phys_ram_base removal. Signed-off-by: Paul Brook git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7060 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/tc6393xb_template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/tc6393xb_template.h') diff --git a/hw/tc6393xb_template.h b/hw/tc6393xb_template.h index 1247ff6e64..0f7694b36e 100644 --- a/hw/tc6393xb_template.h +++ b/hw/tc6393xb_template.h @@ -43,7 +43,7 @@ static void glue(tc6393xb_draw_graphic, BITS)(struct tc6393xb_s *s) uint16_t *data_buffer; uint8_t *data_display; - data_buffer = (uint16_t*)(phys_ram_base + s->vram_addr); + data_buffer = s->vram_ptr; w_display = s->scr_width * BITS / 8; data_display = ds_get_data(s->ds); for(i = 0; i < s->scr_height; i++) { -- cgit v1.2.3