summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine
diff options
context:
space:
mode:
author 987123879113 <63495610+987123879113@users.noreply.github.com>2021-01-22 02:52:22 +0900
committer GitHub <noreply@github.com>2021-01-21 12:52:22 -0500
commitfdc6ef42b904f3fba065818b6ff637a265a2e817 (patch)
treeb7606d843266f2c958561b3dd153b2db58ce5d29 /src/devices/machine
parent5a4d710e2608672b44aa94d5af001c3c069656b4 (diff)
Firebeat: Fix flash clearing for pop'n music (#7548)
Diffstat (limited to 'src/devices/machine')
-rw-r--r--src/devices/machine/intelfsh.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/machine/intelfsh.cpp b/src/devices/machine/intelfsh.cpp
index af8e50dc2d0..2252d2804f7 100644
--- a/src/devices/machine/intelfsh.cpp
+++ b/src/devices/machine/intelfsh.cpp
@@ -701,7 +701,10 @@ uint32_t intelfsh_device::read_full(uint32_t address)
break;
case FM_ERASEAMD4:
// reads outside of the erasing sector return normal data
- if ((address < m_erase_sector) || (address >= m_erase_sector+(64*1024)))
+ if (
+ !(m_maker_id == MFG_FUJITSU && m_device_id == 0xad) /* Firebeat: pop'n music will poll sector 0 for status updates even when clearing section 1 and beyond */
+ && ((address < m_erase_sector) || (address >= m_erase_sector+(64*1024)))
+ )
{
switch( m_bits )
{