Fix BootGodDB lookup being completely broken in quicknes
- closes #3703
Presumably broken since e38726db50
.
This commit is contained in:
parent
f010d6f802
commit
8c9587e00b
|
@ -136,7 +136,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||||
{
|
{
|
||||||
currCart = new CartInfo();
|
currCart = new CartInfo();
|
||||||
currCart.System = xmlReader.GetAttribute("system");
|
currCart.System = xmlReader.GetAttribute("system");
|
||||||
currCart.Sha1 = $"SHA1:{xmlReader.GetAttribute("sha1")}";
|
currCart.Sha1 = $"{SHA1Checksum.PREFIX}:{xmlReader.GetAttribute("sha1")}";
|
||||||
currCart.Name = currName;
|
currCart.Name = currName;
|
||||||
state = 2;
|
state = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -285,7 +285,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES
|
||||||
throw new UnsupportedGameException("Game known to not be playable in this core");
|
throw new UnsupportedGameException("Game known to not be playable in this core");
|
||||||
}
|
}
|
||||||
|
|
||||||
sha1 = "sha1:" + sha1; // huh?
|
sha1 = $"{SHA1Checksum.PREFIX}:{sha1}";
|
||||||
var carts = BootGodDb.Identify(sha1);
|
var carts = BootGodDb.Identify(sha1);
|
||||||
|
|
||||||
if (carts.Count > 0)
|
if (carts.Count > 0)
|
||||||
|
|
Loading…
Reference in New Issue