mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 12:16:20 +00:00
Core: add locked state to watches
This commit is contained in:
parent
41c9d706cb
commit
8f3e8e4ca3
5 changed files with 14 additions and 0 deletions
|
@ -22,6 +22,7 @@ struct Watch
|
|||
u32 address;
|
||||
std::string name;
|
||||
State is_enabled;
|
||||
bool locked = false;
|
||||
|
||||
Watch(u32 address, std::string name, State is_enabled);
|
||||
};
|
||||
|
@ -36,6 +37,7 @@ public:
|
|||
void UpdateWatch(std::size_t index, u32 address, std::string name);
|
||||
void UpdateWatchAddress(std::size_t index, u32 address);
|
||||
void UpdateWatchName(std::size_t index, std::string name);
|
||||
void UpdateWatchLockedState(std::size_t index, bool locked);
|
||||
void EnableWatch(std::size_t index);
|
||||
void DisableWatch(std::size_t index);
|
||||
bool HasEnabledWatch(u32 address) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue