libvgm Player: Fix FM clocks for really old VGM files

CQTexperiment
Christopher Snowhill 2022-01-05 02:26:02 -08:00
parent e4e6da1a94
commit 5b67735f12
4 changed files with 7 additions and 0 deletions

View File

@ -225,6 +225,8 @@ protected:
UINT8 SeekToFilePos(UINT32 pos); UINT8 SeekToFilePos(UINT32 pos);
void ParseFile(UINT32 ticks); void ParseFile(UINT32 ticks);
void ParseFileForFMClocks();
// --- VGM command functions --- // --- VGM command functions ---
void Cmd_invalid(void); void Cmd_invalid(void);
void Cmd_unknown(void); void Cmd_unknown(void);
@ -363,6 +365,11 @@ protected:
UINT32 _ym2612pcm_bnkPos; UINT32 _ym2612pcm_bnkPos;
UINT8 _rf5cBank[2][2]; // [0 RF5C68 / 1 RF5C164][chipID] UINT8 _rf5cBank[2][2]; // [0 RF5C68 / 1 RF5C164][chipID]
QSOUND_WORK _qsWork[2]; QSOUND_WORK _qsWork[2];
UINT8 _v101Fix; // enable hack/fix for v1.00/v1.01 VGMs with FM clock
UINT32 _v101ym2413clock;
UINT32 _v101ym2612clock;
UINT32 _v101ym2151clock;
}; };
#endif // __VGMPLAYER_HPP__ #endif // __VGMPLAYER_HPP__

Binary file not shown.

Binary file not shown.

Binary file not shown.