Update ssv.cpp to new st-0020 (nw)

This commit is contained in:
Luca Elia 2017-05-01 16:53:54 +02:00
parent 1613089de6
commit 562cc3059b
2 changed files with 4 additions and 4 deletions

View File

@ -484,9 +484,9 @@ static ADDRESS_MAP_START( gdfs_map, AS_PROGRAM, 16, ssv_state )
AM_RANGE(0x500000, 0x500001) AM_WRITE(gdfs_eeprom_w)
AM_RANGE(0x540000, 0x540001) AM_READ(gdfs_eeprom_r)
AM_RANGE(0x600000, 0x600fff) AM_RAM
AM_RANGE(0x800000, 0x87ffff) AM_DEVREADWRITE( "st0020_spr", st0020_device, st0020_sprram_r, st0020_sprram_w );
AM_RANGE(0x8c0000, 0x8c00ff) AM_DEVREADWRITE( "st0020_spr", st0020_device, st0020_blitram_r, st0020_blitram_w );
AM_RANGE(0x900000, 0x9fffff) AM_DEVREADWRITE( "st0020_spr", st0020_device, st0020_gfxram_r, st0020_gfxram_w );
AM_RANGE(0x800000, 0x87ffff) AM_DEVREADWRITE( "st0020_spr", st0020_device, sprram_r, sprram_w );
AM_RANGE(0x8c0000, 0x8c00ff) AM_DEVREADWRITE( "st0020_spr", st0020_device, regs_r, regs_w );
AM_RANGE(0x900000, 0x9fffff) AM_DEVREADWRITE( "st0020_spr", st0020_device, gfxram_r, gfxram_w );
SSV_MAP( 0xc00000 )
ADDRESS_MAP_END

View File

@ -962,7 +962,7 @@ uint32_t ssv_state::screen_update_gdfs(screen_device &screen, bitmap_ind16 &bitm
screen_update(screen, bitmap, cliprect);
// draw zooming sprites
m_gdfs_st0020->st0020_draw_all(bitmap, cliprect);
m_gdfs_st0020->update_screen(screen, bitmap, cliprect, false);
m_gdfs_tmap->set_scrollx(0, m_gdfs_tmapscroll[0x0c/2]);
m_gdfs_tmap->set_scrolly(0, m_gdfs_tmapscroll[0x10/2]);