mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Added Load/Save function for the Watch window.
Made the floating windows toolbars dockable. Scaled down the breakpoint toolbar icons to 16x16.
This commit is contained in:
@ -234,7 +234,7 @@ Watches::TWatchesStr Watches::GetStrings() const
|
||||
for (const TWatch& bp : m_Watches)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << std::hex << bp.iAddress << " " << (bp.bOn ? "n" : "");
|
||||
ss << std::hex << bp.iAddress << " " << bp.name;
|
||||
bps.push_back(ss.str());
|
||||
}
|
||||
|
||||
@ -249,7 +249,7 @@ void Watches::AddFromStrings(const TWatchesStr& bpstrs)
|
||||
std::stringstream ss;
|
||||
ss << std::hex << bpstr;
|
||||
ss >> bp.iAddress;
|
||||
bp.bOn = bpstr.find("n") != bpstr.npos;
|
||||
ss >> bp.name;
|
||||
Add(bp);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user