SPDX-License-Identifier: GPL-2.0-only ym2610-build-fix.patch: lets YM2608-LLE 7a2aca7 build as a YM2610. The shared implementation assigns two SSG GPIO outputs that the YM2610 build's structure does not declare, so the YM2610 build stops with two "has no member named" errors; the patch drops those two assignments. It is applied by ../build.sh to a copy of the model used for the YM2610 build only (build/src-2610/); the YM2612 build and the fetched tree stay as published. It is the same change ym2610-python's validation/build_referees.sh makes by dropping the lines its compiler names (2 at this pin). It carries YM2608-LLE's context lines and is kept under GPL-2.0-only with the tool. The hunk keeps the model's CRLF line ends (.gitattributes keeps git from converting them): regenerate it with diff rather than editing it by hand. patch -p1 skips this preamble. --- a/fmopna_impl.c +++ b/fmopna_impl.c @@ -2440,8 +2440,6 @@ chip->o_analog += volume_lut[sign_b ? 0 : vol_b]; chip->o_analog += volume_lut[sign_c ? 0 : vol_c]; - chip->o_gpio_a_d = (chip->ssg_mode & 64) == 0; - chip->o_gpio_b_d = (chip->ssg_mode & 128) == 0; } {