We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc9dbe commit 4f75ea6Copy full SHA for 4f75ea6
src/BizHawk.Client.Common/savestates/BinaryStateLump.cs
@@ -92,7 +92,7 @@ private BinaryStateLump(string name, string ext)
92
{
93
Name = name;
94
Ext = ext;
95
- Debug.Assert(!ext.StartsWith('.'), "omit period of file extension");
+ Debug.Assert(string.IsNullOrEmpty(ext) || !ext.StartsWith('.'), "omit period of file extension");
96
}
97
98
protected BinaryStateLump()
0 commit comments