Skip to content

Commit

Permalink
[NCSF] Fix slight popping in some songs due to PLAYER Record oversigh…
Browse files Browse the repository at this point in the history
…t allowing padding data alongside actual channel data
  • Loading branch information
AmiSapphire committed Oct 1, 2024
1 parent c558034 commit d478b20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/in_ncsf/SSEQPlayer/INFOEntry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ INFOEntryPLAYER::INFOEntryPLAYER() : channelMask(0)

void INFOEntryPLAYER::Read(PseudoFile &file)
{
file.ReadLE<std::uint16_t>(); // maxSeqs
this->channelMask = file.ReadLE<std::uint16_t>();
file.ReadLE<std::uint8_t>(); // maxSeqs
this->channelMask = file.ReadLE<std::uint8_t>();
file.ReadLE<std::uint8_t>(); // padding
file.ReadLE<std::uint32_t>(); // heapSize
}

0 comments on commit d478b20

Please sign in to comment.