VirtualBox

Changeset 87757 in vbox for trunk


Ignore:
Timestamp:
Feb 15, 2021 10:44:00 AM (4 years ago)
Author:
vboxsync
Message:

FE/VirtualBox: Implement runtime patching of QTextBrowser (disabled by default for now, enable with VBOX_WITH_QT_RUNTIME_PATCHING=1) to produce more optimal rendering resultsfor the new help viewer, bugref:9831 [doxygen + fix todo]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/qtpatching.cpp

    r87756 r87757  
    284284            {
    285285                /* Allocate executable memory, assemble the patches and last make the area to patch writable and insert the trampoline. */
    286                 g_pbExecMemory = (uint8_t *)RTMemExecAlloc(2 * (cbInsnMov1 + cbInsnMov2 + cbInsnMov3) + 128 /** @todo */);
     286                g_pbExecMemory = (uint8_t *)RTMemExecAlloc(2 * (cbInsnMov1 + cbInsnMov2 + cbInsnMov3) + 64);
    287287                if (g_pbExecMemory)
    288288                {
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