VirtualBox

Changeset 5852 in vbox


Ignore:
Timestamp:
Nov 27, 2007 6:22:12 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26330
Message:

DISInstr returns vbox status code, not bool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r5369 r5852  
    32833283        char szOutput[256];
    32843284        uint32_t    cbOp;
    3285         if (!DISInstr(&Cpu, (uintptr_t)pvPC, off, &cbOp, &szOutput[0]))
     3285        if (RT_FAILURE(DISInstr(&Cpu, (uintptr_t)pvPC, off, &cbOp, &szOutput[0])))
    32863286            return false;
    32873287        if (pszPrefix)
     
    33723372    char szOutput[256];
    33733373    uint32_t    cbOp;
    3374     if (!DISInstr(&Cpu, (uintptr_t)pvPC, off, &cbOp, &szOutput[0]))
     3374    if (RT_FAILURE(DISInstr(&Cpu, (uintptr_t)pvPC, off, &cbOp, &szOutput[0])))
    33753375        return false;
    33763376
     
    34513451        {
    34523452            uint32_t cbInstr;
    3453             if (DISInstr(&Cpu, (uintptr_t)pvCode + off, 0, &cbInstr, szOutput))
     3453            if (RT_SUCCESS(DISInstr(&Cpu, (uintptr_t)pvCode + off, 0, &cbInstr, szOutput)))
    34543454                RTLogPrintf("%s", szOutput);
    34553455            else
Note: See TracChangeset for help on using the changeset viewer.

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