mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Fixed a crash that would occur if a new watch were added by entering a watch name.
Code style updates.
This commit is contained in:
parent
7eebbcdca7
commit
4570dd7eeb
9 changed files with 53 additions and 51 deletions
|
@ -280,7 +280,7 @@ void Watches::Update(int count, u32 em_address)
|
|||
m_Watches.at(count).iAddress = em_address;
|
||||
}
|
||||
|
||||
void Watches::UpdateName(int count, std::string name)
|
||||
void Watches::UpdateName(int count, const std::string name)
|
||||
{
|
||||
m_Watches.at(count).name = name;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue