From 084b66dfd80aa04b79785cf7142f1e6dba0fd753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 29 Oct 2014 14:28:11 +0100 Subject: fixed usage of uninitialized member in snes_ppu_device (nw) happened with e.g. snes -cart sdf1gpp --- src/emu/video/snes_ppu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/video/snes_ppu.c b/src/emu/video/snes_ppu.c index 929ed11623f..e41f2f00bd3 100644 --- a/src/emu/video/snes_ppu.c +++ b/src/emu/video/snes_ppu.c @@ -380,6 +380,8 @@ void snes_ppu_device::device_reset() m_cgram_address = 0; m_read_ophct = 0; m_read_opvct = 0; + + m_vmadd = 0; PPU_REG(VMAIN) = 0x80; // what about other regs? -- cgit v1.2.3