We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f336b commit 71cf448Copy full SHA for 71cf448
src/pt2_replayer.c
@@ -50,16 +50,16 @@ double ciaBpm2Hz(int32_t bpm)
50
51
void updatePaulaLoops(void) // used after manipulating sample loop points while Paula is live
52
{
53
+ moduleSample_t *s = &song->samples[editor.currSample];
54
+
55
const bool audioWasntLocked = !audio.locked;
56
if (audioWasntLocked)
57
lockAudio();
58
- moduleSample_t *s = &song->samples[editor.currSample];
-
59
moduleChannel_t *ch = song->channels;
60
for (uint32_t i = 0; i < PAULA_VOICES; i++, ch++)
61
62
- if (ch->n_samplenum == editor.currSample) // selected sample matches channel's sample?
+ if (ch->n_samplenum == editor.currSample && ch->n_start != NULL)
63
64
const uint32_t voiceAddr = 0xDFF0A0 + (i * 16);
65
0 commit comments