mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +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
|
@ -62,6 +62,11 @@ void Watches::UpdateWatchName(std::size_t index, std::string name)
|
|||
m_watches[index].name = std::move(name);
|
||||
}
|
||||
|
||||
void Watches::UpdateWatchLockedState(std::size_t index, bool locked)
|
||||
{
|
||||
m_watches[index].locked = locked;
|
||||
}
|
||||
|
||||
void Watches::EnableWatch(std::size_t index)
|
||||
{
|
||||
m_watches[index].is_enabled = Watch::State::Enabled;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue