Skip to content

Commit f82a7e4

Browse files
committed
greater delay for stopping NDS mic (PSG_Play.nds being weird)
1 parent ee6afbf commit f82a7e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Mic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,13 @@ void Mic::Advance(u32 cycles)
204204
}
205205

206206
// NDS mic input has no explicit start/stop control
207-
// so this counter will turn it off if the TSC AUX input doesn't get sampled for one video frame
207+
// so this counter will turn it off if the TSC AUX input doesn't get sampled for two video frames
208208
// other sources also get similar counters, in case we are dealing with stupid code that keeps
209209
// turning the mic on and off (hi DSi-mode libnds)
210210
for (int i = 0; i < 3; i++)
211211
{
212212
StopCount[i] += cycles;
213-
if (StopCount[i] >= 560190)
213+
if (StopCount[i] >= 560190*2)
214214
DoStop((MicSource)i);
215215
}
216216
}

0 commit comments

Comments
 (0)