From 5f944dfed33292683f08e13d3fa0362038c773b3 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Sat, 10 Dec 2011 22:11:26 +0000 Subject: [PATCH] fix GCC 4.6.x compile (nw) --- src/emu/video/pc_vga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/video/pc_vga.c b/src/emu/video/pc_vga.c index a85ebdee7cd..ff701524990 100644 --- a/src/emu/video/pc_vga.c +++ b/src/emu/video/pc_vga.c @@ -912,7 +912,7 @@ void pc_vga_reset(running_machine &machine) void pc_vga_init(running_machine &machine, const struct pc_vga_interface *vga_intf, const struct pc_svga_interface *svga_intf) { int i, j, k, mask1, buswidth; - address_space *mem_space,*io_space; + address_space *io_space; // , mem_space; memset(&vga, 0, sizeof(vga)); @@ -958,7 +958,7 @@ void pc_vga_init(running_machine &machine, const struct pc_vga_interface *vga_in memset(vga.gc.data, '\0', vga.svga_intf.gc_regcount); buswidth = downcast(machine.firstcpu)->space_config(AS_PROGRAM)->m_databus_width; - mem_space = machine.firstcpu->memory().space(vga.vga_intf.mem_addressspace); +// mem_space = machine.firstcpu->memory().space(vga.vga_intf.mem_addressspace); io_space = machine.firstcpu->memory().space(vga.vga_intf.port_addressspace); switch(buswidth) {