internal static byte DutyByte(this WaveDuty waveDuty) => waveDuty switch
 {
Beispiel #2
0
 public static byte GetDuty(WaveDuty waveDuty, byte dutyIndex)
 => Apu.DUTY[(int)waveDuty * Apu.WAVE_DUTY_COUNT + dutyIndex];