Skip to content

Commit

Permalink
Get UADE replayer song length from info struct
Browse files Browse the repository at this point in the history
It is not coming for any known module though :D
  • Loading branch information
sitomani committed Feb 13, 2024
1 parent 675ddc0 commit a7416da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 4champ/Replay/UADE/UADEReplayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ - (int)currentPosition {
- (int)moduleLength {
if(ustate) {
const struct uade_song_info *info = uade_get_song_info(ustate);
return ustate->song.info.duration;
return info->duration;
}
return 0;
}
Expand Down

0 comments on commit a7416da

Please sign in to comment.