mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-27 15:58:11 -05:00
Writing the enable bit to `FF23` causes the noise oscillator to start outputting samples and writing the other registers (including the one for the SRW value) during the time the oscillator is active has undefined behaviour. In order for `GB_apu` to correctly generate samples when the LSFR width is set to `7`, the trigger write to `0xff23` must happen after all other writes.