mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
ymfm: Fix OPL3 waveform 7 to better match hardware.
This commit is contained in:
parent
082292b897
commit
b78991fc83
2
3rdparty/ymfm/src/ymfm_opl.cpp
vendored
2
3rdparty/ymfm/src/ymfm_opl.cpp
vendored
@ -96,7 +96,7 @@ opl_registers_base<Revision>::opl_registers_base() :
|
||||
wf4[index] = bitfield(index, 9) ? zeroval : wf0[index * 2];
|
||||
wf5[index] = bitfield(index, 9) ? zeroval : wf0[(index * 2) & 0x1ff];
|
||||
wf6[index] = bitfield(index, 9) << 15;
|
||||
wf7[index] = (zeroval - wf0[(index / 2)]) | (bitfield(index, 9) << 15);
|
||||
wf7[index] = (bitfield(index, 9) ? (index ^ 0x13ff) : index) << 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user