tsm: let this sanity check be there.

This commit is contained in:
feos 2016-04-17 16:01:09 +03:00
parent f0c18077d2
commit 0e6ec038a8
1 changed files with 12 additions and 1 deletions

View File

@ -650,7 +650,18 @@ namespace BizHawk.Client.Common
// 4 bytes - length of savestate
// 0 - n savestate
private ulong Used { get; set; }
private ulong _used;
private ulong Used
{
get { return _used; }
set
{
if (value > 0xf000000000000000)
System.Diagnostics.Debug.Fail("ulong Used underfow!");
else
_used = value;
}
}
private ulong DiskUsed
{