Fixed tetrisp2.c save state regression (nw)

This commit is contained in:
Ivan Vangelista 2014-07-15 14:40:28 +00:00
parent ad0d51d3d7
commit 11e81ffba1

View File

@ -228,6 +228,9 @@ VIDEO_START_MEMBER(tetrisp2_state,tetrisp2)
// should be smaller and mirrored like m32 I guess // should be smaller and mirrored like m32 I guess
m_priority = auto_alloc_array(machine(), UINT8, 0x40000); m_priority = auto_alloc_array(machine(), UINT8, 0x40000);
ms32_rearrange_sprites(machine(), "gfx1"); ms32_rearrange_sprites(machine(), "gfx1");
save_item(NAME(m_flipscreen_old));
save_pointer(NAME(m_priority), 0x40000);
} }
VIDEO_START_MEMBER(tetrisp2_state,nndmseal) VIDEO_START_MEMBER(tetrisp2_state,nndmseal)
@ -251,6 +254,9 @@ VIDEO_START_MEMBER(tetrisp2_state,rockntread)
// should be smaller and mirrored like m32 I guess // should be smaller and mirrored like m32 I guess
m_priority = auto_alloc_array(machine(), UINT8, 0x40000); m_priority = auto_alloc_array(machine(), UINT8, 0x40000);
ms32_rearrange_sprites(machine(), "gfx1"); ms32_rearrange_sprites(machine(), "gfx1");
save_item(NAME(m_flipscreen_old));
save_pointer(NAME(m_priority), 0x40000);
} }