mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-01-07 15:31:49 +00:00
Fix speaker octave settings
This commit is contained in:
parent
75499af5d5
commit
31f9a207b2
@ -371,7 +371,7 @@ def mbTicklePSG(pVIA)
|
|||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
def mbSearch(slot)
|
def mbSearch(slot)
|
||||||
if MACHID <> $F2 and slot >= 0 and slot <= 7// Apple 3
|
if slot >= 0 and slot <= 7
|
||||||
if slot
|
if slot
|
||||||
mbVIA1 = mbTicklePSG($C000 + (slot << 8))
|
mbVIA1 = mbTicklePSG($C000 + (slot << 8))
|
||||||
if mbVIA1
|
if mbVIA1
|
||||||
@ -807,16 +807,16 @@ when MACHID & MACHID_MODEL
|
|||||||
if ^instr
|
if ^instr
|
||||||
mbSlot = mbSearch(^(instr + 1) - '0')
|
mbSlot = mbSearch(^(instr + 1) - '0')
|
||||||
fin
|
fin
|
||||||
if mbSlot < 0
|
|
||||||
//
|
|
||||||
// No MockingBoard - scale octave0 for speaker
|
|
||||||
//
|
|
||||||
for instr = 0 to 11
|
|
||||||
spkrOctave0[instr] = mbOctave0[instr]/NOTEDIV
|
|
||||||
next
|
|
||||||
fin
|
|
||||||
break
|
break
|
||||||
wend
|
wend
|
||||||
|
if mbSlot < 0
|
||||||
|
//
|
||||||
|
// No MockingBoard - scale octave0 for speaker
|
||||||
|
//
|
||||||
|
for instr = 0 to 11
|
||||||
|
spkrOctave0[instr] = mbOctave0[instr]/NOTEDIV
|
||||||
|
next
|
||||||
|
fin
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user