fix pipedrm (nw)

This commit is contained in:
Miodrag Milanovic 2014-03-01 07:21:14 +00:00
parent 444f3c3be5
commit a6ce94802e

View File

@ -924,8 +924,9 @@ ROM_END
DRIVER_INIT_MEMBER(pipedrm_state,pipedrm)
{
const memory_share *share = memshare("palette");
/* sprite RAM lives at the end of palette RAM */
m_spriteram.set_target(&m_generic_paletteram_8[0xc00], 0x400);
m_spriteram.set_target((UINT8*)share->ptr() + 0xc00, 0x400);
m_maincpu->space(AS_PROGRAM).install_ram(0xcc00, 0xcfff, m_spriteram);
}