Skip to content

Commit 4f75ea6

Browse files
committed
fix 7c7114b
1 parent 4cc9dbe commit 4f75ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BizHawk.Client.Common/savestates/BinaryStateLump.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private BinaryStateLump(string name, string ext)
9292
{
9393
Name = name;
9494
Ext = ext;
95-
Debug.Assert(!ext.StartsWith('.'), "omit period of file extension");
95+
Debug.Assert(string.IsNullOrEmpty(ext) || !ext.StartsWith('.'), "omit period of file extension");
9696
}
9797

9898
protected BinaryStateLump()

0 commit comments

Comments
 (0)