2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

"vga=" is specified in decimal, not hex.

This commit is contained in:
Michael Brown 2007-01-22 23:56:24 +00:00
parent ebb00e032c
commit 99cb46943f

View File

@ -107,7 +107,7 @@ static int bzimage_parse_cmdline ( struct image *image,
} else if ( strcmp ( vga, "ask" ) == 0 ) {
exec_ctx->vid_mode = BZI_VID_MODE_ASK;
} else {
exec_ctx->vid_mode = strtoul ( vga, &vga, 16 );
exec_ctx->vid_mode = strtoul ( vga, &vga, 10 );
if ( *vga && ( *vga != ' ' ) ) {
DBGC ( image, "bzImage %p strange \"vga=\""
"terminator '%c'\n", image, *vga );