diff options
author | couriersud <couriersud@gmx.org> | 2019-04-17 22:50:08 +0200 |
---|---|---|
committer | couriersud <couriersud@gmx.org> | 2019-04-17 22:50:17 +0200 |
commit | ae8aa359556b766d924a67040bc8b65e5f287cfa (patch) | |
tree | 7fec68afca91d41560f706a40e63a60563dd3f45 | |
parent | 0c70ab307932c8d8c46122a341e03a6d2193088b (diff) |
Fix breakout regression. (nw)
-rw-r--r-- | src/mame/drivers/pong.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/pong.cpp b/src/mame/drivers/pong.cpp index a5cc5375c6d..02442b7da96 100644 --- a/src/mame/drivers/pong.cpp +++ b/src/mame/drivers/pong.cpp @@ -115,10 +115,10 @@ TODO: Volleyball... * */ -#define MASTER_CLOCK_BREAKOUT (14318000 / 2) +#define MASTER_CLOCK_BREAKOUT (14318000) #define V_TOTAL_BREAKOUT (0xFC) // 252 -#define H_TOTAL_BREAKOUT (448) // 448 +#define H_TOTAL_BREAKOUT (448*2) // 448 enum input_changed_enum { @@ -540,12 +540,13 @@ void breakout_state::breakout(machine_config &config) /* The Pixel width is a 2,1,2,1,2,1,1,1 repeating pattern * Thus we must use double resolution horizontally */ - m_video->set_monitor_clock(MASTER_CLOCK_BREAKOUT*2); - m_video->set_horz_params((H_TOTAL_BREAKOUT-104)*2,(H_TOTAL_BREAKOUT-72)*2,(H_TOTAL_BREAKOUT-8)*2, (H_TOTAL_BREAKOUT)*2); + m_video->set_monitor_clock(MASTER_CLOCK_BREAKOUT); + m_video->set_horz_params((H_TOTAL_BREAKOUT-208),(H_TOTAL_BREAKOUT-144),(H_TOTAL_BREAKOUT-16), (H_TOTAL_BREAKOUT)); m_video->set_vert_params(V_TOTAL_BREAKOUT-22,V_TOTAL_BREAKOUT-23,V_TOTAL_BREAKOUT-4, V_TOTAL_BREAKOUT); m_video->set_fieldcount(1); m_video->set_threshold(1.0); m_video->set_gain(1.5); + m_video->set_horz_scale(2); /* sound hardware */ SPEAKER(config, "speaker").front_center(); |