diff options
Diffstat (limited to '3rdparty/ymfm/src/ymfm_opl.cpp')
-rw-r--r-- | 3rdparty/ymfm/src/ymfm_opl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/3rdparty/ymfm/src/ymfm_opl.cpp b/3rdparty/ymfm/src/ymfm_opl.cpp index 86215c5b27e..f3f62955ecb 100644 --- a/3rdparty/ymfm/src/ymfm_opl.cpp +++ b/3rdparty/ymfm/src/ymfm_opl.cpp @@ -100,6 +100,11 @@ opl_registers_base<Revision>::opl_registers_base() : } } } + + // OPL3/OPL4 have dynamic operators, so initialize the fourop_enable value here + // since operator_map() is called right away, prior to reset() + if (Revision > 2) + m_regdata[0x104 % REGISTERS] = 0; } |