diff --git a/ThirdParty/libvgm/include/libvgm/player/vgmplayer.hpp b/ThirdParty/libvgm/include/libvgm/player/vgmplayer.hpp index df32d3b58..bc2ec8159 100644 --- a/ThirdParty/libvgm/include/libvgm/player/vgmplayer.hpp +++ b/ThirdParty/libvgm/include/libvgm/player/vgmplayer.hpp @@ -224,6 +224,8 @@ protected: UINT8 SeekToTick(UINT32 tick); UINT8 SeekToFilePos(UINT32 pos); void ParseFile(UINT32 ticks); + + void ParseFileForFMClocks(); // --- VGM command functions --- void Cmd_invalid(void); @@ -363,6 +365,11 @@ protected: UINT32 _ym2612pcm_bnkPos; UINT8 _rf5cBank[2][2]; // [0 RF5C68 / 1 RF5C164][chipID] 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__ diff --git a/ThirdParty/libvgm/lib/libvgm-emu.a b/ThirdParty/libvgm/lib/libvgm-emu.a index fe8c2eb50..ab0e9a76c 100644 Binary files a/ThirdParty/libvgm/lib/libvgm-emu.a and b/ThirdParty/libvgm/lib/libvgm-emu.a differ diff --git a/ThirdParty/libvgm/lib/libvgm-player.a b/ThirdParty/libvgm/lib/libvgm-player.a index dcebac0a4..82c5080b8 100644 Binary files a/ThirdParty/libvgm/lib/libvgm-player.a and b/ThirdParty/libvgm/lib/libvgm-player.a differ diff --git a/ThirdParty/libvgm/lib/libvgm-utils.a b/ThirdParty/libvgm/lib/libvgm-utils.a index 929260135..5f302d2d7 100644 Binary files a/ThirdParty/libvgm/lib/libvgm-utils.a and b/ThirdParty/libvgm/lib/libvgm-utils.a differ