summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/vgmplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vgmplay.cpp')
-rw-r--r--src/mame/drivers/vgmplay.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/vgmplay.cpp b/src/mame/drivers/vgmplay.cpp
index 5e9cea25ac7..76f86eb5b61 100644
--- a/src/mame/drivers/vgmplay.cpp
+++ b/src/mame/drivers/vgmplay.cpp
@@ -1515,7 +1515,9 @@ QUICKLOAD_LOAD_MEMBER(vgmplay_state, load_file)
if (r32(0x10) & 0x40000000)
logerror("Warning: file requests an unsupported 2nd YM2413\n");
- m_ym2612->set_unscaled_clock((version >= 0x110 ? r32(0x2c) : r32(0x10)) & ~0x40000000);
+ m_ym2612->set_unscaled_clock((version >= 0x110 ? r32(0x2c) : r32(0x10)) & ~0xc0000000);
+ if (version >= 0x110 && (r32(0x2c) & 0x80000000))
+ logerror("Warning: file requests an unsupported YM3438\n");
if (version >= 0x110 && (r32(0x2c) & 0x40000000))
logerror("Warning: file requests an unsupported 2nd YM2612\n");