diff --git a/pcsx2-qt/Debugger/RegisterWidget.cpp b/pcsx2-qt/Debugger/RegisterWidget.cpp index 0aa236df19..e2a5c99461 100644 --- a/pcsx2-qt/Debugger/RegisterWidget.cpp +++ b/pcsx2-qt/Debugger/RegisterWidget.cpp @@ -231,7 +231,7 @@ void RegisterWidget::customMenuRequested(QPoint pos) else m_contextMenu->clear(); - int categoryIndex = ui.registerTabs->currentIndex(); + const int categoryIndex = ui.registerTabs->currentIndex(); QAction* action = 0; diff --git a/pcsx2-qt/Debugger/RegisterWidget.h b/pcsx2-qt/Debugger/RegisterWidget.h index c4dfc58387..d775812d06 100644 --- a/pcsx2-qt/Debugger/RegisterWidget.h +++ b/pcsx2-qt/Debugger/RegisterWidget.h @@ -86,6 +86,6 @@ private: s32 m_selected128Field = 0; // Values are from 0 to 3 // TODO: Save this configuration ?? - bool m_showVU0FFloat; - bool m_showFPRFloat; + bool m_showVU0FFloat = false; + bool m_showFPRFloat = false; };