From a55ac80cd54304745cd4213d77b955bf746f0dd7 Mon Sep 17 00:00:00 2001 From: couriersud Date: Mon, 17 Aug 2020 22:21:00 +0200 Subject: [PATCH] tank: fix video parameters --- src/mame/drivers/atarittl.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/atarittl.cpp b/src/mame/drivers/atarittl.cpp index de670ba816b..73f720f082a 100644 --- a/src/mame/drivers/atarittl.cpp +++ b/src/mame/drivers/atarittl.cpp @@ -251,11 +251,12 @@ void tank_state::tank(machine_config &config) // Length of active video, end of front-porch, end of sync signal, end of back porch // TODO: The total hblank period is 128, the total hsync period is 32, unknown how to convert this to porches. // TODo: The total vblank period is 80, the total vsync period is 8, unknown how to convert this to porches. - m_video->set_horz_params(776, 0, 32, 128); - m_video->set_vert_params(432, 0, 8, 80); + m_video->set_horz_params(776, 776, 808, 904); + m_video->set_vert_params(432, 432, 440, 520); m_video->set_fieldcount(2); m_video->set_threshold(1.0); - //m_video->set_gain(0.2); + m_video->set_vsync_threshold(0.368); + m_video->set_gain(0.47); //m_video->set_horz_scale(1); }