Remove gamedb entry for empty (length 0) rom
This commit is contained in:
parent
5424cd3123
commit
f4b4c60684
|
@ -1321,7 +1321,6 @@ sha1:dcd96913a1c840c8b57848986242eeb928bfd2ff M.A.S.H. (1982) (20th Century Fox
|
|||
sha1:55ae319f11584f997b7b52000a1d98cdfaa07d5d M.A.S.H. (CCE) (no logo) (PAL) [!] A26 m=4K;PAL=true
|
||||
sha1:fbc075766313f04a808236189daa2bf49f584f44 M.A.S.H. (CCE) A26 m=4K;NTSC=true
|
||||
sha1:4c66b84ab0d25e46729bbcf23f985d59ca8520ad Magicard (CommaVid) A26 m=CV;NTSC=true
|
||||
sha1:DA39A3EE5E6B4B0D3255BFEF95601890AFD80709 Magicard (CommaVid) A26 m=CV;NTSC=true
|
||||
sha1:cdc7e65d965a7a00adda1e8bedfbe6200e349497 Malagai (1983) (Answer Software) A26 m=4K;NTSC=true
|
||||
sha1:311bf43a479e9981c70f38573dbf614429d0a5b5 Mangia' (1983) (Spectravideo) (PAL) [!] A26 m=4K;PAL=true
|
||||
sha1:6c7d1f27efb1e9514494e35cbf03acbf9ffdfe60 Many Blue Bars and Text Demo (PD) A26 m=4K;NTSC=true
|
||||
|
|
|
@ -152,7 +152,10 @@ namespace BizHawk.Emulation.Common
|
|||
Region = items.Length >= 7 ? items[6] : "",
|
||||
ForcedCore = items.Length >= 8 ? items[7].ToLowerInvariant() : ""
|
||||
};
|
||||
|
||||
if (game.Hash is "DA39A3EE5E6B4B0D3255BFEF95601890AFD80709" or "D41D8CD98F00B204E9800998ECF8427E")
|
||||
{
|
||||
Console.WriteLine($"WARNING: gamedb {path} contains entry for empty rom as \"{game.Name}\"!");
|
||||
}
|
||||
if (!silent && DB.TryGetValue(game.Hash, out var dupe))
|
||||
{
|
||||
Console.WriteLine("gamedb: Multiple hash entries {0}, duplicate detected on \"{1}\" and \"{2}\"", game.Hash, game.Name, dupe.Name);
|
||||
|
|
Loading…
Reference in New Issue