manage correctly CONFIG_GESTALTID, CONFIG_KERNEL_MAP, CONFIG_INITRD_MAP

This commit is contained in:
Laurent Vivier 2008-02-25 21:36:32 +00:00
parent 35b5df8a85
commit 42f4a71817

View File

@ -337,6 +337,7 @@ int emile_config_get(emile_config* config, int tag, ...)
break;
case CONFIG_TIMEOUT:
case CONFIG_DEFAULT:
case CONFIG_GESTALTID:
v = va_arg(arg, int*);
p = (int*)get_tag(config->header, tag);
if (p != NULL)
@ -347,8 +348,10 @@ int emile_config_get(emile_config* config, int tag, ...)
break;
case CONFIG_TITLE:
case CONFIG_KERNEL:
case CONFIG_KERNEL_MAP:
case CONFIG_ARGS:
case CONFIG_INITRD:
case CONFIG_INITRD_MAP:
case CONFIG_CHAINLOADER:
s = va_arg(arg, char**);
*s = get_tag(config->current, tag);