Skip to content

Commit

Permalink
Fix XGM2 default tempo
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane-D committed Sep 26, 2024
1 parent 2141fdc commit ee06499
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Binary file modified lib/libmd.a
Binary file not shown.
2 changes: 0 additions & 2 deletions src/snd/xgm2.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,6 @@ u16 XGM2_getMusicTempo(void)

static void NO_INLINE setMusicTempo(const u16 value)
{
if (Z80_getLoadedDriver() != Z80_DRIVER_XGM2) return;

xgm2Tempo = value;
// compute tempo
u16 adjTempo = divu(value << 8, IS_PAL_SYSTEM?50:60);
Expand Down

0 comments on commit ee06499

Please sign in to comment.