mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 11:51:09 +08:00
sblaster: hz == 0 must disable busy cycle, as documented and expected
This commit is contained in:
parent
41126af050
commit
a13029accf
@ -1780,7 +1780,7 @@ static bool DSP_busy_cycle() {
|
||||
int t;
|
||||
|
||||
if (!DSP_busy_cycle_active()) return false;
|
||||
if (sb.busy_cycle_duty_percent <= 0) return false;
|
||||
if (sb.busy_cycle_duty_percent <= 0 || sb.busy_cycle_hz <= 0) return false;
|
||||
|
||||
/* NTS: DOSBox's I/O emulation doesn't yet attempt to accurately match ISA bus speeds or
|
||||
* consider ISA bus cycles, but to emulate SB16 behavior we have to "time" it so
|
||||
|
Loading…
x
Reference in New Issue
Block a user