Binary release v3.2.2

This commit is contained in:
mintsuki 2022-04-15 18:17:14 +00:00
parent bf55897b46
commit 77192cacd7
9 changed files with 1244 additions and 1244 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -471,13 +471,6 @@ int main(int argc, char *argv[]) {
}
}
if (!any_active) {
fprintf(stderr, "No active partition found, some systems may not boot.\n");
fprintf(stderr, "Setting partition 1 as active to work around the issue...\n");
hint8 = 0x80;
device_write(&hint8, 446, sizeof(uint8_t));
}
char hintc[64];
device_read(hintc, 4, 8);
if (memcmp(hintc, "_ECH_FS_", 8) == 0) {
@ -508,6 +501,13 @@ int main(int argc, char *argv[]) {
device_write(&hint16, 1080, sizeof(uint16_t));
}
}
if (mbr && !any_active) {
fprintf(stderr, "No active partition found, some systems may not boot.\n");
fprintf(stderr, "Setting partition 1 as active to work around the issue...\n");
hint8 = 0x80;
device_write(&hint8, 446, sizeof(uint8_t));
}
}
if (gpt == 0 && mbr == 0) {

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.