summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty
diff options
context:
space:
mode:
author angelosa <lordkale4@gmail.com>2025-11-23 21:58:40 +0100
committer angelosa <lordkale4@gmail.com>2025-11-23 22:03:02 +0100
commitcf4b85395228e0e28810fe485996c050fc2f2e3b (patch)
tree454ece02880a32b5f9ae4eda40e759ed71d22dfc /3rdparty
parent5779c6f099e8749f920f09dc2c63b3b9a8fa3836 (diff)
3rdparty/ymfm/src/ymfm_adpcm.h: extend at_end fn by 1
* pc98:metlfrce wants this to detect the speakboard, cfr. note in header card
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/ymfm/src/ymfm_adpcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/ymfm/src/ymfm_adpcm.h b/3rdparty/ymfm/src/ymfm_adpcm.h
index d74e24f2770..98f57121e5c 100644
--- a/3rdparty/ymfm/src/ymfm_adpcm.h
+++ b/3rdparty/ymfm/src/ymfm_adpcm.h
@@ -345,7 +345,7 @@ private:
bool at_limit() const { return (m_curaddress == (((m_regs.limit() + 1) << address_shift()) - 1)); }
// end checker; stops at the last byte of the chunk described by address_shift()
- bool at_end() const { return (m_curaddress == (((m_regs.end() + 1) << address_shift()) - 1)); }
+ bool at_end() const { return (m_curaddress == (((m_regs.end() + 1) << address_shift()))); }
// internal state
uint32_t const m_address_shift; // address bits shift-left