Two small fixes:
1:
2151intf.cpp: comment out line 147:
Clang doesn't like this type of self-assignment.
2:
ym2151.cpp line 2515: replace the line:
with:
if (j<7) chan_calc(PSG, j); else chan7_calc(PSG);
I completely missed that (which breaks the dedicated LFSR noise which optionally replaces one operator on channel 7), that's actually a bug in the original 2009 patch.
LN