removing some trash

This commit is contained in:
Jairinho 2022-03-01 18:49:14 -03:00
parent 6fa4d9ddc0
commit 71b44655b7
No known key found for this signature in database
GPG Key ID: 954589B18A21D5B6

View File

@ -101,12 +101,10 @@ func (emulator *Emulator) UpdateTimers() {
emulator.DT -= 1
}
if emulator.ST > 0 {
emulator.ST -= 1
if emulator.StopSound == nil {
_ = 1
emulator.StopSound = emulator.PlaySound(Sound)
}
emulator.ST -= 1
} else {
if emulator.StopSound != nil {
emulator.StopSound()