Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

Commit a76f218

Browse files
committed
What does this button do?
1 parent a60ca96 commit a76f218

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vice/src/arch/shared/hwsiddrv/us-unixwin-device.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,9 @@ int_fast32_t us_delay(void)
201201
usid_main_clk = maincpu_clk;
202202
return 0;
203203
}
204-
/* Without substracting 1 cycle this would cause a clicking noise in cycle exact tunes */
205-
int_fast32_t cycles = maincpu_clk - usid_main_clk - 1;
204+
/* Without substracting 1 cycle this can cause a clicking noise in cycle exact tunes */
205+
// int_fast32_t cycles = maincpu_clk - usid_main_clk - 1;
206+
int_fast32_t cycles = maincpu_clk - usid_main_clk;
206207
while (cycles > 0xffff)
207208
{
208209
cycles -= 0xffff;

0 commit comments

Comments
 (0)