mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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:
@@ -909,7 +909,7 @@ PcVideoSetDisplayMode(char *DisplayModeName, BOOLEAN Init)
|
||||
}
|
||||
else
|
||||
{
|
||||
VideoMode = atoi(DisplayModeName);
|
||||
VideoMode = (USHORT)strtoul(DisplayModeName, NULL, 0); // atoi(DisplayModeName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user