fixed usage of uninitialized member in snes_ppu_device (nw)

This commit is contained in:
Oliver Stöneberg 2014-04-28 23:02:48 +00:00
parent dba7842b1a
commit f7ddfb8127

View File

@ -256,6 +256,8 @@ void snes_ppu_device::device_start()
/* Init oam RAM */
memset((UINT8 *)m_oam_ram, 0xff, SNES_OAM_SIZE);
m_stat78 = 0;
for (int i = 0; i < 2; i++)
{
save_item(NAME(m_scanlines[i].enable), i);