VirtualBox

Changeset 26 in kStuff


Ignore:
Timestamp:
Feb 19, 2009 1:06:09 AM (16 years ago)
Author:
bird
Message:

FAT Mach-O bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdrMod.c

    r25 r26  
    249249
    250250            default:
    251                 enmCpuArch = KCPUARCH_UNKNOWN;
     251                enmEntryArch = KCPUARCH_UNKNOWN;
    252252                break;
    253253        }
     
    260260         * get lucky.
    261261         */
    262         if (enmCpuArch == KCPUARCH_X86_32)
     262        if (enmEntryArch == enmCpuArch)
    263263        {
    264264            *poffHdr = Arch.offset;
     
    341341            if (rc)
    342342                return rc;
     343            if (offHdr)
     344                continue;
    343345        }
     346        break;
    344347    }
    345348
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette