From 061098f2ed1f30d79320114481de60e6c105a593 Mon Sep 17 00:00:00 2001 From: cam900 Date: Thu, 8 Aug 2024 00:39:18 +0900 Subject: neogeo/neogeo_spr.cpp: Fix display timing related parameters (#12634) neogeo/midas.cpp: Fix zoom table RAM size (The maximum allowed access is 64K bytes) --- src/mame/neogeo/midas.cpp | 8 +++----- src/mame/neogeo/neogeo_spr.h | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/mame/neogeo/midas.cpp b/src/mame/neogeo/midas.cpp index 6f0f0e4c53c..ac6dd4f966c 100644 --- a/src/mame/neogeo/midas.cpp +++ b/src/mame/neogeo/midas.cpp @@ -184,10 +184,8 @@ void midas_state::zoomtable_w(offs_t offset, uint16_t data, uint16_t mem_mask) if (ACCESSING_BITS_0_7) { - m_zoomtable[offset+0x00000] = data & 0xff; - m_zoomtable[offset+0x10000] = data & 0xff; + m_zoomtable[offset] = data & 0xff; } - } /*************************************************************************************** Live Quiz Show @@ -814,7 +812,7 @@ ROM_START( livequiz ) ROM_REGION( 0x200000, "ymz", 0 ) ROM_LOAD( "flash.u5", 0x000000, 0x200000, CRC(dc062792) SHA1(ec415c918c47ce9d181f014cde317af5717600e4) ) - ROM_REGION( 0x20000, "spritegen:zoomy", ROMREGION_ERASE00 ) + ROM_REGION( 0x10000, "spritegen:zoomy", ROMREGION_ERASE00 ) /* uploaded */ ROM_END @@ -912,7 +910,7 @@ ROM_START( hammer ) ROM_LOAD( "s0.u25", 0x000000, 0x200000, CRC(c049a3e0) SHA1(0c7016c3128c170a84ad3f92fad1165775210e3d) ) ROM_LOAD( "s1.u26", 0x200000, 0x200000, CRC(9cc4b3ec) SHA1(b91a8747074a1032eb7f70a015d394fe8e896d7e) ) - ROM_REGION( 0x20000, "spritegen:zoomy", ROMREGION_ERASE00 ) + ROM_REGION( 0x10000, "spritegen:zoomy", ROMREGION_ERASE00 ) /* uploaded */ ROM_END diff --git a/src/mame/neogeo/neogeo_spr.h b/src/mame/neogeo/neogeo_spr.h index 613c2e84296..0c32479ebf7 100644 --- a/src/mame/neogeo/neogeo_spr.h +++ b/src/mame/neogeo/neogeo_spr.h @@ -8,8 +8,8 @@ // todo, move these back, currently the sprite code needs some of the values tho #define NEOGEO_HTOTAL (0x180) -#define NEOGEO_HBEND (0x01e) /* this should really be 29.5 */ -#define NEOGEO_HBSTART (0x15e) /* this should really be 349.5 */ +#define NEOGEO_HBEND (0x01c) // verified from https://wiki.neogeodev.org/index.php?title=Display_timing +#define NEOGEO_HBSTART (0x15c) #define NEOGEO_VTOTAL (0x108) #define NEOGEO_VBEND (0x010) #define NEOGEO_VBSTART (0x0f0) -- cgit v1.2.3