mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 08:41:39 +00: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:
parent
b34e220086
commit
b73130af77
4 changed files with 96 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue