Skip to content

Commit

Permalink
Added identity check for Digital Tracker.
Browse files Browse the repository at this point in the history
  • Loading branch information
neumatho committed Jan 12, 2025
1 parent 35d76f5 commit 7c63991
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Agents/Players/Mpg123/Mpg123.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Product>NostalgicPlayer</Product>
<Description>Plays audio mpeg files with layer 1/2/3 using Mpg123 library</Description>
<Platforms>AnyCPU</Platforms>
<Version>2.1.6</Version>
<Version>2.1.6-1</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
4 changes: 4 additions & 0 deletions Source/Agents/Players/Mpg123/Mpg123Worker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,10 @@ private bool CheckModuleFormats(ModuleStream moduleStream)
if (id1 == 0x434f534f) // COSO
return true;

// Digital Tracker
if (id1 == 0x442e542e) // D.T.
return true;

// Gameboy Sound System
uint maskedId = id1 & 0xffffff00;

Expand Down

0 comments on commit 7c63991

Please sign in to comment.