mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06: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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user