oisipuzl sprite layer offset was wrong

This commit is contained in:
Michaël Banaan Ananas 2013-05-29 19:41:34 +00:00
parent 652c5cf751
commit 4aa3c44fe2
3 changed files with 22 additions and 11 deletions

View File

@ -8032,7 +8032,7 @@ static MACHINE_CONFIG_START( setaroul, seta_state )
MCFG_PALETTE_LENGTH(512)
MCFG_PALETTE_INIT_OVERRIDE(seta_state,setaroul)
MCFG_VIDEO_START_OVERRIDE(seta_state,seta_1_layer)
MCFG_VIDEO_START_OVERRIDE(seta_state,setaroul_1_layer)
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")

View File

@ -179,6 +179,7 @@ public:
TILE_GET_INFO_MEMBER(get_tile_info_3);
DECLARE_VIDEO_START(seta_no_layers);
DECLARE_VIDEO_START(twineagl_1_layer);
DECLARE_VIDEO_START(setaroul_1_layer);
DECLARE_VIDEO_START(seta_1_layer);
DECLARE_MACHINE_RESET(calibr50);
DECLARE_PALETTE_INIT(usclssic);

View File

@ -190,8 +190,8 @@ static const game_offset game_offsets[] =
{ "daioha", { 1, 1 }, { -1, -1 } }, // "
{ "msgundam", { 0, 0 }, { -2, -2 } }, // correct (test grid, banpresto logo)
{ "msgundam1",{ 0, 0 }, { -2, -2 } }, // "
{ "oisipuzl", { 0, 0 }, { -1, -1 } }, // correct (test mode) flip screen not supported?
{ "triplfun", { 0, 0 }, { -1, -1 } }, // "
{ "oisipuzl", { 1, 1 }, { -1, -1 } }, // correct (test mode) flip screen not supported?
{ "triplfun", { 1, 1 }, { -1, -1 } }, // "
{ "wrofaero", { 0, 0 }, { 0, 0 } }, // unknown
{ "jjsquawk", { 1, 1 }, { -1, -1 } }, // correct (test mode)
{ "jjsquawkb",{ 1, 1 }, { -1, -1 } }, // "
@ -466,6 +466,15 @@ VIDEO_START_MEMBER(seta_state,seta_2_layers)
m_tilemap_3->set_transparent_pen(0);
}
VIDEO_START_MEMBER(seta_state,oisipuzl_2_layers)
{
VIDEO_START_CALL_MEMBER(seta_2_layers);
m_tilemaps_flip = 1;
// position kludges
machine().device<seta001_device>("spritegen")->set_fg_yoffsets( -0x12, 0x0e );
}
/* 1 layer */
VIDEO_START_MEMBER(seta_state,seta_1_layer)
@ -488,6 +497,15 @@ VIDEO_START_MEMBER(seta_state,seta_1_layer)
m_tilemap_1->set_transparent_pen(0);
}
VIDEO_START_MEMBER(seta_state,setaroul_1_layer)
{
VIDEO_START_CALL_MEMBER(seta_1_layer);
// position kludges
machine().device<seta001_device>("spritegen")->set_fg_yoffsets( -0x12, 0x0e );
machine().device<seta001_device>("spritegen")->set_bg_yoffsets( 0x1, -0x1 );
}
VIDEO_START_MEMBER(seta_state,twineagl_1_layer)
{
VIDEO_START_CALL_MEMBER( seta_no_layers );
@ -538,11 +556,6 @@ VIDEO_START_MEMBER(seta_state,seta_no_layers)
}
VIDEO_START_MEMBER(seta_state,oisipuzl_2_layers)
{
VIDEO_START_CALL_MEMBER(seta_2_layers);
m_tilemaps_flip = 1;
}
/***************************************************************************
@ -1038,9 +1051,6 @@ UINT32 seta_state::screen_update_setaroul(screen_device &screen, bitmap_ind16 &b
{
bitmap.fill(0x0, cliprect);
machine().device<seta001_device>("spritegen")->set_fg_yoffsets( -0x12, 0x0e );
machine().device<seta001_device>("spritegen")->set_bg_yoffsets( 0x1, -0x1 );
seta_layers_update(screen, bitmap, cliprect, 0x800, 1 );
return 0;