mirror of
https://github.com/86Box/bios-tools.git
synced 2026-02-22 09:35:33 -07:00
bios_extract: Fix Phoenix scan aborting too early if invalid BCPSYS data is found (A40HT00I)
This commit is contained in:
@@ -1004,10 +1004,8 @@ PhoenixExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset,
|
||||
Offset &= (BIOSLength - 1);
|
||||
if (!Offset) {
|
||||
fprintf(stderr, "BCPSYS module offset is NULL.\n");
|
||||
if (!FFV) {
|
||||
return FALSE;
|
||||
}
|
||||
return PhoenixFFV(BIOSImage, BIOSLength, FFV);
|
||||
if (FFV)
|
||||
PhoenixFFV(BIOSImage, BIOSLength, FFV);
|
||||
}
|
||||
|
||||
while (Offset) {
|
||||
|
||||
Reference in New Issue
Block a user