DBG+GUI: FIXEZZ
This commit is contained in:
parent
5795fdc771
commit
e1fc0926a4
|
@ -414,6 +414,7 @@ void DebugUpdateGui(duint disasm_addr, bool stack)
|
|||
strcat_s(threadName, " ");
|
||||
sprintf_s(title, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "File: %s - PID: %X - %sThread: %s%X%s")), szBaseFileName, fdProcessInfo->dwProcessId, modtext, threadName, currentThreadId, threadswitch);
|
||||
GuiUpdateWindowTitle(title);
|
||||
GuiUpdateDisassemblyView();
|
||||
GuiUpdateRegisterView();
|
||||
GuiUpdateThreadView();
|
||||
GuiUpdatePatches();
|
||||
|
|
|
@ -1591,7 +1591,7 @@ void Disassembly::prepareDataRange(dsint startRva, dsint endRva, const std::func
|
|||
int i = 0;
|
||||
while(true)
|
||||
{
|
||||
if(wAddr >= endRva)
|
||||
if(wAddr > endRva)
|
||||
break;
|
||||
wAddrPrev = wAddr;
|
||||
auto wInst = DisassembleAt(wAddr);
|
||||
|
|
|
@ -1833,15 +1833,15 @@ static void setupMenuCustomizationHelper(QMenu* parentMenu, QList<QAction*> & st
|
|||
|
||||
void MainWindow::setupMenuCustomization()
|
||||
{
|
||||
mFileMenuStrings.append(reinterpret_cast<QAction* const&>("File"));
|
||||
mFileMenuStrings.append(reinterpret_cast<QAction* const &>("File"));
|
||||
setupMenuCustomizationHelper(ui->menuFile, mFileMenuStrings);
|
||||
mDebugMenuStrings.append(reinterpret_cast<QAction* const&>("Debug"));
|
||||
mDebugMenuStrings.append(reinterpret_cast<QAction* const &>("Debug"));
|
||||
setupMenuCustomizationHelper(ui->menuDebug, mDebugMenuStrings);
|
||||
mOptionsMenuStrings.append(reinterpret_cast<QAction* const&>("Option"));
|
||||
mOptionsMenuStrings.append(reinterpret_cast<QAction* const &>("Option"));
|
||||
setupMenuCustomizationHelper(ui->menuOptions, mOptionsMenuStrings);
|
||||
mHelpMenuStrings.append(reinterpret_cast<QAction* const&>("Help"));
|
||||
mHelpMenuStrings.append(reinterpret_cast<QAction* const &>("Help"));
|
||||
setupMenuCustomizationHelper(ui->menuHelp, mHelpMenuStrings);
|
||||
mViewMenuStrings.append(reinterpret_cast<QAction* const&>("View"));
|
||||
mViewMenuStrings.append(reinterpret_cast<QAction* const &>("View"));
|
||||
setupMenuCustomizationHelper(ui->menuView, mViewMenuStrings);
|
||||
onMenuCustomized();
|
||||
Config()->registerMainMenuStringList(&mFileMenuStrings);
|
||||
|
|
Loading…
Reference in New Issue