VirtualBox

Ignore:
Timestamp:
May 27, 2019 7:09:43 PM (6 years ago)
Author:
vboxsync
Message:

HostServices/SharedOpenGL/unpacker/unpack.py: Fix building with CR_UNPACK_DEBUG_OPCODES or CR_UNPACK_DEBUG_LAST_OPCODES

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack.py

    r78190 r78792  
    248248            print("""
    249249#ifdef CR_UNPACK_DEBUG_LAST_OPCODES
    250                 if (i==(num_opcodes-1))
     250                if (i==(pState->cOpcodes-1))
    251251#endif
    252252#if defined(CR_UNPACK_DEBUG_OPCODES) || defined(CR_UNPACK_DEBUG_LAST_OPCODES)
     
    261261                #else
    262262                # ifdef CR_UNPACK_DEBUG_LAST_OPCODES
    263                     if (i==(num_opcodes-1)) crUnpackExtendDbg(pState);
     263                    if (i==(pState->cOpcodes-1)) crUnpackExtendDbg(pState);
    264264                    else
    265265                # endif
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