Replace BitConverter.ToString(bytes).Replace("-", "") with Convert.ToHexString(bytes) (#4382)

This commit is contained in:
Berkan Diler 2023-02-08 14:54:58 +01:00 committed by GitHub
parent a90454c32a
commit 1b06a00e32
4 changed files with 7 additions and 7 deletions

View file

@ -229,7 +229,7 @@ namespace Ryujinx.HLE.FileSystem
continue;
}
string ncaId = BitConverter.ToString(cnmt.ContentEntries[0].NcaId).Replace("-", "").ToLower();
string ncaId = Convert.ToHexString(cnmt.ContentEntries[0].NcaId).ToLower();
AddAocItem(cnmt.TitleId, containerPath, $"{ncaId}.nca", true);
}