dont call int.parse on a long
This commit is contained in:
parent
296ce8fcfc
commit
cc8308495d
|
@ -1021,7 +1021,7 @@ namespace BizHawk.Common
|
||||||
{
|
{
|
||||||
if (Present(name))
|
if (Present(name))
|
||||||
{
|
{
|
||||||
val = int.Parse(Item(name).Replace("0x", ""), NumberStyles.HexNumber);
|
val = long.Parse(Item(name).Replace("0x", ""), NumberStyles.HexNumber);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue