Wrapped C enum raw values in explicit width conversions throughout the PlayDate binding target.

This commit is contained in:
2026-07-25 10:10:43 +02:00
parent 29619720f7
commit 69813b2a76
11 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ extension Sound {
case poDigital = 6
case poVosim = 7
var cValue: SoundWaveform { SoundWaveform(rawValue) }
var cValue: SoundWaveform { SoundWaveform(SoundWaveform.RawValue(rawValue)) }
}
/// Custom generator callbacks. Samples are in signed Q8.24 format.