Ram Search - make 4 the minimum number of digits for an address, because I said so
This commit is contained in:
parent
83a8712d5d
commit
733fb228b6
|
@ -1692,10 +1692,10 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
private int GetNumDigits(Int32 i)
|
private int GetNumDigits(Int32 i)
|
||||||
{
|
{
|
||||||
if (i == 0) return 0;
|
//if (i == 0) return 0;
|
||||||
if (i < 0x10) return 1;
|
//if (i < 0x10) return 1;
|
||||||
if (i < 0x100) return 2;
|
//if (i < 0x100) return 2;
|
||||||
if (i < 0x1000) return 3;
|
//if (i < 0x1000) return 3; //adelikat: commenting these out because I decided that regardless of domain, 4 digits should be the minimum
|
||||||
if (i < 0x10000) return 4;
|
if (i < 0x10000) return 4;
|
||||||
if (i < 0x100000) return 5;
|
if (i < 0x100000) return 5;
|
||||||
if (i < 0x1000000) return 6;
|
if (i < 0x1000000) return 6;
|
||||||
|
|
Loading…
Reference in New Issue