Skip to content

Commit

Permalink
gdrom: increase gdrom ticks by 10%
Browse files Browse the repository at this point in the history
Fixes Sakura Taisen 3 broken music
Issue #692
  • Loading branch information
flyinghead committed Nov 23, 2023
1 parent 14f3507 commit 8f3124d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/hw/gdrom/gdromv3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ static int getGDROMTicks()
return 512;
u32 len = SB_GDLEN == 0 ? 0x02000000 : SB_GDLEN;
if (len - SB_GDLEND > 10240)
return 1000000; // Large transfers: GD-ROM transfer rate 1.8 MB/s
return 1100000; // Large transfers: GD-ROM transfer rate 1.8 MB/s
else
return std::min((u32)10240, len - SB_GDLEND) * 2; // Small transfers: Max G1 bus rate: 50 MHz x 16 bits
}
Expand Down

0 comments on commit 8f3124d

Please sign in to comment.