From 4c6d339bee6f55f4117b344f03504c75336ad85c Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Wed, 2 Feb 2022 17:01:13 -0800 Subject: [PATCH] Revert "properly format this string" This reverts commit 1e8552148e7800f936dd62c1cd497a362fe5dd8f. --- src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs index e2fbf9e9b0..3cc9aebab2 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NDS/MelonDS.cs @@ -238,7 +238,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS titleId |= ware[0x237 - i]; } using var zip = new ZipArchive(new MemoryStream(Util.DecompressGzipFile(new MemoryStream(Resources.TMDS.Value))), ZipArchiveMode.Read, false); - using var tmd = zip.GetEntry($"{titleId:x8}.tmd").Open(); + using var tmd = zip.GetEntry($"{titleId:x16}.tmd").Open(); var ret = new byte[tmd.Length]; tmd.Read(ret, 0, (int)tmd.Length); return ret;