Skip to content

Commit 3a1fb91

Browse files
committed
Fix loop
1 parent d0c0ad1 commit 3a1fb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
regs[r] = psgdump[r*frameCount + frame + offset] || 0;
7272
}
7373
updateState(ayumi, regs);
74-
if(++frame > frameCount) frame = loopFrame;
74+
if(++frame >= frameCount) frame = loopFrame;
7575
}
7676
ayumi.process();
7777
ayumi.removeDC();

0 commit comments

Comments
 (0)