mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Try to fix S2636 offsets in games using legacy screen params
This commit is contained in:
parent
ac245e3ff7
commit
5702bef80d
@ -307,15 +307,15 @@ static MACHINE_CONFIG_START( galaxia, galaxia_state )
|
||||
MCFG_VIDEO_START_OVERRIDE(galaxia_state,galaxia)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_0", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(3, -26)
|
||||
MCFG_S2636_OFFSETS(-13, -26)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_1", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(3, -26)
|
||||
MCFG_S2636_OFFSETS(-13, -26)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_2", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(3, -26)
|
||||
MCFG_S2636_OFFSETS(-13, -26)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
|
||||
|
||||
/* sound hardware */
|
||||
@ -349,7 +349,7 @@ static MACHINE_CONFIG_START( astrowar, galaxia_state )
|
||||
MCFG_VIDEO_START_OVERRIDE(galaxia_state,astrowar)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_0", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(3, 0)
|
||||
MCFG_S2636_OFFSETS(-13, -8)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
|
||||
|
||||
/* sound hardware */
|
||||
|
@ -670,13 +670,13 @@ static MACHINE_CONFIG_START( laserbat, laserbat_state )
|
||||
MCFG_PALETTE_ADD("palette", 1024)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_1", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(0, -19)
|
||||
MCFG_S2636_OFFSETS(-16, -27)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_2", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(0, -19)
|
||||
MCFG_S2636_OFFSETS(-16, -27)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_3", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(0, -19)
|
||||
MCFG_S2636_OFFSETS(-16, -27)
|
||||
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||
@ -735,13 +735,13 @@ static MACHINE_CONFIG_START( catnmous, laserbat_state )
|
||||
MCFG_PALETTE_ADD("palette", 1024)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_1", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(0, -19)
|
||||
MCFG_S2636_OFFSETS(-16, -19)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_2", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(0, -19)
|
||||
MCFG_S2636_OFFSETS(-16, -19)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_3", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(0, -19)
|
||||
MCFG_S2636_OFFSETS(-16, -19)
|
||||
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||
|
@ -327,13 +327,13 @@ static MACHINE_CONFIG_START( quasar, quasar_state )
|
||||
MCFG_PALETTE_INIT_OWNER(quasar_state,quasar)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_0", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(CVS_S2636_Y_OFFSET, CVS_S2636_X_OFFSET)
|
||||
MCFG_S2636_OFFSETS(CVS_S2636_Y_OFFSET - 8, CVS_S2636_X_OFFSET - 9)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_1", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(CVS_S2636_Y_OFFSET, CVS_S2636_X_OFFSET)
|
||||
MCFG_S2636_OFFSETS(CVS_S2636_Y_OFFSET - 8, CVS_S2636_X_OFFSET - 9)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636_2", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(CVS_S2636_Y_OFFSET, CVS_S2636_X_OFFSET)
|
||||
MCFG_S2636_OFFSETS(CVS_S2636_Y_OFFSET - 8, CVS_S2636_X_OFFSET - 9)
|
||||
|
||||
MCFG_VIDEO_START_OVERRIDE(quasar_state,quasar)
|
||||
|
||||
|
@ -483,7 +483,7 @@ static MACHINE_CONFIG_START( seabattl, seabattl_state )
|
||||
MCFG_CPU_VBLANK_INT_DRIVER("screen", seabattl_state, seabattl_interrupt)
|
||||
|
||||
MCFG_DEVICE_ADD("s2636", S2636, 0)
|
||||
MCFG_S2636_OFFSETS(3, -21)
|
||||
MCFG_S2636_OFFSETS(-13, -29)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
|
||||
|
||||
MCFG_DEVICE_ADD("sc_thousand", DM9368, 0)
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "sound/tms5110.h"
|
||||
#include "machine/s2636.h"
|
||||
|
||||
#define CVS_S2636_Y_OFFSET (3)
|
||||
#define CVS_S2636_Y_OFFSET (-5)
|
||||
#define CVS_S2636_X_OFFSET (-26)
|
||||
#define CVS_MAX_STARS 250
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user