segas32 use opaque blending by default - dbzvrvs backgrounds working. (#2211)

* Update segas32.c

* Update segas32.c

* Update .gitlab-ci.yml

* Update segas32.c

* Update segas32.h

* Update segas32.c

* Update segas32.c

* Update .gitlab-ci.yml
This commit is contained in:
mahoneyt944 authored and GitHub committed 2026-11-07 07:35:08 -05:00
1 parent 1035485897
commit dff0ba6365
3 files changed
+15 -11

No files matched your search

+11 -7
View File
@@ -3602,12 +3602,21 @@ static DRIVER_INIT ( sonic )
install_mem_read16_handler (0, 0xc00040, 0xc00055, sonic_track_r);
install_mem_write16_handler(0, 0x20E5C4, 0x20E5C5, sonic_level_load_protection);
opaque_blend = false;
}
static DRIVER_INIT ( sonicp )
{
install_mem_write16_handler(0, 0xc00040, 0xc00055, sonic_track_reset_w);
install_mem_read16_handler (0, 0xc00040, 0xc00055, sonic_track_r);
opaque_blend = false;
}
static DRIVER_INIT ( harddunk )
{
opaque_blend = false;
}
static DRIVER_INIT ( radm )
@@ -3620,8 +3629,6 @@ static DRIVER_INIT ( radr )
{
system32_use_default_eeprom = EEPROM_RADR;
install_io_analog();
opaquey_hack = true;
}
static WRITE16_HANDLER( f1en_comms_echo_w )
@@ -3691,8 +3698,6 @@ static DRIVER_INIT( darkedge )
install_mem_read16_handler (0, 0xa00000, 0xa7ffff, darkedge_protection_r);
install_mem_write16_handler(0, 0xa00000, 0xa7ffff, darkedge_protection_w);
system32_prot_vblank = darkedge_fd1149_vblank;
opaquey_hack = true;
}
static DRIVER_INIT( jleague )
@@ -3710,7 +3715,6 @@ static DRIVER_INIT( titlef )
{
install_port_write_handler(1, 0xb0, 0xbf, scross_bank_w);
titlef_kludge = true;
opaquey_hack = true;
}
static DRIVER_INIT( scross )
@@ -3748,8 +3752,8 @@ GAMEX(1995, slipstrh, slipstrm, system32, slipstrm, slipstrm, ROT0, "Capcom"
/* Multi32 games */
GAMEX(1992, orunners, 0, multi32, orunners, 0, ROT0, "Sega", "Outrunners (US)", GAME_IMPERFECT_GRAPHICS )
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(1994, harddunk, 0, multi32, harddunk, harddunk, ROT0, "Sega", "Hard Dunk (World)", GAME_IMPERFECT_GRAPHICS )
GAMEX(1994, harddunj, harddunk, multi32, harddunk, harddunk, ROT0, "Sega", "Hard Dunk (Japan)", GAME_IMPERFECT_GRAPHICS )
GAMEX(1992, scross, 0, multi32, scross, scross, ROT0, "Sega", "Stadium Cross (World)", GAME_IMPERFECT_GRAPHICS )
GAMEX(1992, scrossa, scross, multi32, scross, scross, ROT0, "Sega", "Stadium Cross (World, linkable)", GAME_IMPERFECT_GRAPHICS )
GAMEX(1992, scrossu, scross, multi32, scross, scross, ROT0, "Sega", "Stadium Cross (US)", GAME_IMPERFECT_GRAPHICS )
+1 -1
View File
@@ -19,7 +19,7 @@ extern UINT16 *system32_paletteram[2];
extern UINT16 system32_displayenable[2];
extern UINT16 system32_tilebank_external;
extern bool opaquey_hack;
extern bool opaque_blend;
extern bool titlef_kludge;
extern void system32_set_vblank(int state);
+3 -3
View File
@@ -258,7 +258,7 @@ UINT16 *system32_paletteram[2];
UINT16 system32_displayenable[2];
UINT16 system32_tilebank_external;
bool opaquey_hack = false; /* dink */
bool opaque_blend = true;
bool titlef_kludge = false;
@@ -1156,7 +1156,7 @@ static void update_tilemap_zoom(struct layer_info *layer, const struct rectangle
get_tilemaps(bgnum, tilemaps);
/* configure the layer */
opaque = (opaquey_hack) ? BIT(system32_videoram[0x1ff8e/2], (8 + bgnum)) : 0;
opaque = (opaque_blend) ? BIT(system32_videoram[0x1ff8e/2], (8 + bgnum)) : 0;
/* determine flipping */
compute_tilemap_flips(bgnum, &flipx, &flipy);
@@ -1320,7 +1320,7 @@ static void update_tilemap_rowscroll(struct layer_info *layer, const struct rect
get_tilemaps(bgnum, tilemaps);
/* configure the layer */
opaque = (opaquey_hack) ? BIT(system32_videoram[0x1ff8e/2], (8 + bgnum)) : 0;
opaque = (opaque_blend) ? BIT(system32_videoram[0x1ff8e/2], (8 + bgnum)) : 0;
/* determine flipping */
compute_tilemap_flips(bgnum, &flipx, &flipy);