mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Branch Watch Tool: Add Set Breakpoints Submenu
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include <string>
|
||||
|
||||
#include <QDialog>
|
||||
#include <QIcon>
|
||||
#include <QModelIndexList>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
@ -79,6 +80,7 @@ private:
|
||||
void OnWipeInspection();
|
||||
void OnTimeout();
|
||||
void OnEmulationStateChanged(Core::State new_state);
|
||||
void OnThemeChanged();
|
||||
void OnHelp();
|
||||
void OnToggleAutoSave(bool checked);
|
||||
void OnHideShowControls(bool checked);
|
||||
@ -92,6 +94,9 @@ private:
|
||||
void OnTableSetBLR();
|
||||
void OnTableSetNOP();
|
||||
void OnTableCopyAddress();
|
||||
void OnTableSetBreakpointBreak();
|
||||
void OnTableSetBreakpointLog();
|
||||
void OnTableSetBreakpointBoth();
|
||||
|
||||
void SaveSettings();
|
||||
|
||||
@ -101,10 +106,12 @@ public:
|
||||
|
||||
private:
|
||||
void UpdateStatus();
|
||||
void UpdateIcons();
|
||||
void Save(const Core::CPUThreadGuard& guard, const std::string& filepath);
|
||||
void Load(const Core::CPUThreadGuard& guard, const std::string& filepath);
|
||||
void AutoSave(const Core::CPUThreadGuard& guard);
|
||||
void SetStubPatches(u32 value) const;
|
||||
void SetBreakpoints(bool break_on_hit, bool log_on_hit) const;
|
||||
|
||||
[[nodiscard]] QMenu* GetTableContextMenu(const QModelIndex& index);
|
||||
|
||||
@ -118,6 +125,10 @@ private:
|
||||
QAction* m_act_insert_nop;
|
||||
QAction* m_act_insert_blr;
|
||||
QAction* m_act_copy_address;
|
||||
QMenu* m_mnu_set_breakpoint;
|
||||
QAction* m_act_break_on_hit;
|
||||
QAction* m_act_log_on_hit;
|
||||
QAction* m_act_both_on_hit;
|
||||
QMenu* m_mnu_table_context = nullptr;
|
||||
QMenu* m_mnu_column_visibility;
|
||||
|
||||
@ -128,6 +139,8 @@ private:
|
||||
QStatusBar* m_status_bar;
|
||||
QTimer* m_timer;
|
||||
|
||||
QIcon m_icn_full, m_icn_partial;
|
||||
|
||||
QModelIndexList m_index_list_temp;
|
||||
std::optional<std::string> m_autosave_filepath;
|
||||
};
|
||||
|
Reference in New Issue
Block a user