[FREELDR]

Allow VideoMode to be set via decimal, hexadecimal, ... number representation in bootcd/livecd/freeldr.ini (see the Brian Palmer's FREELDR.INI example).

svn path=/trunk/; revision=58005
This commit is contained in:
Hermès Bélusca-Maïto 2012-12-25 12:54:31 +00:00
parent 8cc13f35dd
commit 48c15d9799

View file

@ -909,7 +909,7 @@ PcVideoSetDisplayMode(char *DisplayModeName, BOOLEAN Init)
}
else
{
VideoMode = atoi(DisplayModeName);
VideoMode = (USHORT)strtoul(DisplayModeName, NULL, 0); // atoi(DisplayModeName);
}
}