removing some trash
This commit is contained in:
parent
6fa4d9ddc0
commit
71b44655b7
|
@ -101,12 +101,10 @@ func (emulator *Emulator) UpdateTimers() {
|
||||||
emulator.DT -= 1
|
emulator.DT -= 1
|
||||||
}
|
}
|
||||||
if emulator.ST > 0 {
|
if emulator.ST > 0 {
|
||||||
|
emulator.ST -= 1
|
||||||
if emulator.StopSound == nil {
|
if emulator.StopSound == nil {
|
||||||
_ = 1
|
|
||||||
emulator.StopSound = emulator.PlaySound(Sound)
|
emulator.StopSound = emulator.PlaySound(Sound)
|
||||||
}
|
}
|
||||||
|
|
||||||
emulator.ST -= 1
|
|
||||||
} else {
|
} else {
|
||||||
if emulator.StopSound != nil {
|
if emulator.StopSound != nil {
|
||||||
emulator.StopSound()
|
emulator.StopSound()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user