Reinstate `GameInfo.NullInstance`'s name, and only instantiate it once
reverts 8dcea2470
`PathEntryCollection.RetroSystemAbsolutePath` extension didn't like this, there
may be others, and I don't want to look through them all
This commit is contained in:
parent
3e79e68d1d
commit
a8f571f2d6
|
@ -46,9 +46,9 @@ namespace BizHawk.Emulation.Common
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static GameInfo NullInstance => new GameInfo
|
public static readonly GameInfo NullInstance = new()
|
||||||
{
|
{
|
||||||
Name = string.Empty,
|
Name = "Null",
|
||||||
System = VSystemID.Raw.NULL,
|
System = VSystemID.Raw.NULL,
|
||||||
Hash = "",
|
Hash = "",
|
||||||
Region = "",
|
Region = "",
|
||||||
|
|
Loading…
Reference in New Issue