mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-12-26 23:25:57 -05:00
misc update
This commit is contained in:
parent
491f0bea8a
commit
265b70f1c7
@ -543,7 +543,7 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char *
|
|||||||
}
|
}
|
||||||
|
|
||||||
grub_env_set(args[1], type);
|
grub_env_set(args[1], type);
|
||||||
debug("<%s> vtoy type: <%s> ", args[0], type);
|
debug("<%s> vtoy type: <%s> offset:%d\n", args[0], type, offset);
|
||||||
|
|
||||||
if (offset >= 0)
|
if (offset >= 0)
|
||||||
{
|
{
|
||||||
@ -598,6 +598,14 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char *
|
|||||||
altboot = 1;
|
altboot = 1;
|
||||||
grub_env_set(args[3], "1");
|
grub_env_set(args[3], "1");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
debug("offset data=0x%x\n", data);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
debug("BootCode: 0x%x\n", gpt->MBR.BootCode[92]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user