Segas32 title fight kludge, improved graphics

This commit is contained in:
mahoneyt944 2024-10-31 18:32:51 -04:00 committed by GitHub
parent c994b0584d
commit dd862a8b54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 15 additions and 3 deletions

View File

@ -3645,6 +3645,11 @@ static DRIVER_INIT( dbzvrvs )
install_mem_write16_handler(0, 0xa00000, 0xa7ffff, dbzvrvs_protection_w);
}
static DRIVER_INIT( titlef )
{
titlef_kludge = true;
}
/* this one is pretty much ok since it doesn't use backgrounds tilemaps */
GAME( 1992, holo, 0, system32, holo, s32, ORIENTATION_FLIP_Y, "Sega", "Holosseum" )
@ -3678,4 +3683,4 @@ GAMEX(1992, orunners, 0, multi32, orunners, 0, ROT0, "Sega", "Out
GAMEX(1994, harddunk, 0, multi32, harddunk, 0, ROT0, "Sega", "Hard Dunk (World)", GAME_IMPERFECT_GRAPHICS )
GAMEX(1994, harddunj, harddunk, multi32, harddunk, 0, ROT0, "Sega", "Hard Dunk (Japan)", GAME_IMPERFECT_GRAPHICS )
GAMEX(1992, scross, 0, scross, scross, 0, ROT0, "Sega", "Stadium Cross (World)", GAME_IMPERFECT_GRAPHICS )
GAMEX(1992, titlef, 0, multi32, titlef, 0, ROT0, "Sega", "Title Fight (World)", GAME_IMPERFECT_GRAPHICS )
GAMEX(1992, titlef, 0, multi32, titlef, titlef, ROT0, "Sega", "Title Fight (World)", GAME_IMPERFECT_GRAPHICS )

View File

@ -19,6 +19,7 @@ extern UINT16 system32_displayenable[2];
extern UINT16 system32_tilebank_external;
extern bool opaquey_hack;
extern bool titlef_kludge;
extern void system32_set_vblank(int state);

View File

@ -276,7 +276,8 @@ UINT16 *system32_paletteram[2];
UINT16 system32_displayenable[2];
UINT16 system32_tilebank_external;
bool opaquey_hack = false; /* dink */
bool opaquey_hack = false; /* dink */
bool titlef_kludge = false;
@ -1649,7 +1650,8 @@ static UINT8 update_tilemaps(const struct rectangle *cliprect)
update_tilemap_text(&layer_data[MIXER_LAYER_TEXT], cliprect);
if (enableb)
update_bitmap(&layer_data[MIXER_LAYER_BITMAP], cliprect);
update_background(&layer_data[MIXER_LAYER_BACKGROUND], cliprect);
if (!titlef_kludge)
update_background(&layer_data[MIXER_LAYER_BACKGROUND], cliprect);
return (enablet << 0) | (enable0 << 1) | (enable1 << 2) | (enable2 << 3) | (enable3 << 4) | (enableb << 5);
}
@ -2732,6 +2734,10 @@ VIDEO_UPDATE( multi32 )
int monitor_display_start = 0;
int monitor_display_width = 2;
if (titlef_kludge) /* force background to render */
if (system32_videoram[0x1ff02/2] == 0x7be0 || system32_videoram[0x1ff02/2] == 0x2960)
system32_videoram[0x1ff02/2] = 0x1000;
/*
MAME2003-PLUS uses a single screen to draw to where as current mame
uses dedicated left and right screens. We force an aspect ratio change