Skip to content

Commit f7b1482

Browse files
committed
Extract constant string MD5Checksum.Dummy
1 parent 6e10064 commit f7b1482

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/BizHawk.Client.EmuHawk/RetroAchievements/RCheevos.GameInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ protected override uint IdentifyRom(byte[] rom)
289289
return IdentifyHash(Encoding.ASCII.GetString(hash, 0, 32));
290290
}
291291

292-
_gameHash ??= "EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE";
292+
_gameHash ??= MD5Checksum.Dummy;
293293
return 0;
294294
}
295295

src/BizHawk.Common/checksums/MD5Checksum.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ public static class MD5Checksum
1616

1717
public const string PREFIX = "MD5";
1818

19+
public /*static readonly*/const string Dummy = "EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE";
20+
1921
public /*static readonly*/const string EmptyFile = "D41D8CD98F00B204E9800998ECF8427E";
2022

2123
#if NET5_0_OR_GREATER

0 commit comments

Comments
 (0)