From 0e8f417e67ef8c189682ca187b0b3fec317c9f69 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 5 Jan 2022 02:37:39 -0800 Subject: [PATCH] libvgm Player: Correctly report version number in codec field --- Plugins/libvgmPlayer/libvgmMetadataReader.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/libvgmPlayer/libvgmMetadataReader.mm b/Plugins/libvgmPlayer/libvgmMetadataReader.mm index a1e665602..84386dcf9 100644 --- a/Plugins/libvgmPlayer/libvgmMetadataReader.mm +++ b/Plugins/libvgmPlayer/libvgmMetadataReader.mm @@ -172,7 +172,7 @@ static std::string FCC2Str(UINT32 fcc) PLR_SONG_INFO sInf; player->GetSongInfo(sInf); - system = [NSString stringWithFormat:@"%s v%X.%X", FCC2Str(sInf.format).c_str(), sInf.fileVerMaj, sInf.fileVerMin]; + system = [NSString stringWithFormat:@"%s v%X.%02X", FCC2Str(sInf.format).c_str(), sInf.fileVerMaj, sInf.fileVerMin]; mainPlr.UnloadFile(); DataLoader_Deinit(dLoad);