VIP optimizations

This commit is contained in:
2024-11-19 21:56:44 -06:00
parent bc864644f7
commit c90b8137de
3 changed files with 639 additions and 322 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ static void vsuNextFreqMod(VB *sim, Channel *chan) {
}
/* Process one channel */
static void vsuEmulateChannel(VB *sim, Channel *chan, uint32_t clocks) {
static void vsuEmulateChannel(VB *sim, Channel *chan) {
uint32_t bit; /* Pseudorandom bit */
/* Automatic shutoff */
@@ -343,7 +343,7 @@ static void vsuEmulate(VB *sim, uint32_t clocks) {
/* Update channel state */
if (chan->until == 0)
vsuEmulateChannel(sim, chan, chan->until);
vsuEmulateChannel(sim, chan);
}
}