Skip to content

Commit

Permalink
[playxm] Add FEST as a valid 4-channel signature
Browse files Browse the repository at this point in the history
  • Loading branch information
mywave82 committed Jun 10, 2024
1 parent 894e92c commit 64e1fd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions playxm/xmlmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ static int loadmod (struct cpifaceSessionAPI_t *cpifaceSession, struct xmodule *

switch (l)
{
case 0x54534546: /* FEST */
case 0x2E4B2E4D: /* M.K. */
case 0x214B214D: /* M!K! */
case 0x214B264D: /* M&K! */
Expand Down
2 changes: 2 additions & 0 deletions playxm/xmtype.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ static uint32_t xmpGetModuleType(const char *buf, int len, const char *filename)
{
switch (int32_little(*(uint32_t *)(buf+1080)))
{
case 0x54534546: /* FEST */
case 0x2E542E4E: /* N.T. */
return MODULETYPE("MODt");

Expand Down Expand Up @@ -181,6 +182,7 @@ static int xmpReadInfo(struct moduleinfostruct *m, struct ocpfilehandle_t *fp, c
{
switch (int32_little(*(uint32_t *)(buf+1080)))
{
case 0x54534546: /* FEST */
case 0x2E4B2E4D: /* M.K. */
case 0x214B214D: /* M!K! */
case 0x2E542E4E: /* N.T. */
Expand Down

0 comments on commit 64e1fd9

Please sign in to comment.