Ram Search - make 4 the minimum number of digits for an address, because I said so

This commit is contained in:
andres.delikat 2011-03-05 03:47:32 +00:00
parent 83a8712d5d
commit 733fb228b6
1 changed files with 4 additions and 4 deletions

View File

@ -1692,10 +1692,10 @@ namespace BizHawk.MultiClient
private int GetNumDigits(Int32 i)
{
if (i == 0) return 0;
if (i < 0x10) return 1;
if (i < 0x100) return 2;
if (i < 0x1000) return 3;
//if (i == 0) return 0;
//if (i < 0x10) return 1;
//if (i < 0x100) return 2;
//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 < 0x100000) return 5;
if (i < 0x1000000) return 6;