summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2015-12-11 13:28:49 +1100
committer Vas Crabb <vas@vastheman.com>2015-12-11 23:34:38 +1100
commit5702bef80db084da8690f666847d939d27ca637a (patch)
treedd1fa07b40239816b68d6204fd04dd21c362c571 /src/mame
parentac245e3ff741bdb91bfc8c826c723f19a182d88b (diff)
Try to fix S2636 offsets in games using legacy screen params
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/galaxia.cpp8
-rw-r--r--src/mame/drivers/laserbat.cpp12
-rw-r--r--src/mame/drivers/quasar.cpp6
-rw-r--r--src/mame/drivers/seabattl.cpp2
-rw-r--r--src/mame/includes/cvs.h2
5 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/drivers/galaxia.cpp b/src/mame/drivers/galaxia.cpp
index 23723f1ffce..d959db3662c 100644
--- a/src/mame/drivers/galaxia.cpp
+++ b/src/mame/drivers/galaxia.cpp
@@ -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 */
diff --git a/src/mame/drivers/laserbat.cpp b/src/mame/drivers/laserbat.cpp
index bf52a8c25dd..cb37397d754 100644
--- a/src/mame/drivers/laserbat.cpp
+++ b/src/mame/drivers/laserbat.cpp
@@ -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")
diff --git a/src/mame/drivers/quasar.cpp b/src/mame/drivers/quasar.cpp
index 544c6c12ce3..3e43ef19cae 100644
--- a/src/mame/drivers/quasar.cpp
+++ b/src/mame/drivers/quasar.cpp
@@ -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)
diff --git a/src/mame/drivers/seabattl.cpp b/src/mame/drivers/seabattl.cpp
index 332a6966f91..14d31b86d02 100644
--- a/src/mame/drivers/seabattl.cpp
+++ b/src/mame/drivers/seabattl.cpp
@@ -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)
diff --git a/src/mame/includes/cvs.h b/src/mame/includes/cvs.h
index 8a1a41c773c..4633709964c 100644
--- a/src/mame/includes/cvs.h
+++ b/src/mame/includes/cvs.h
@@ -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