mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Merge pull request #1431 from magcius/fix-breakpoints
BreakPoints: Fix compile warning
This commit is contained in:
commit
5ba5aa10e3
2 changed files with 3 additions and 3 deletions
|
@ -219,7 +219,7 @@ void TMemCheck::Action(DebugInterface *debug_interface, u32 iValue, u32 addr, bo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const bool Watches::IsAddressWatch(u32 _iAddress)
|
bool Watches::IsAddressWatch(u32 _iAddress) const
|
||||||
{
|
{
|
||||||
for (const TWatch& bp : m_Watches)
|
for (const TWatch& bp : m_Watches)
|
||||||
if (bp.iAddress == _iAddress)
|
if (bp.iAddress == _iAddress)
|
||||||
|
|
|
@ -118,7 +118,7 @@ public:
|
||||||
TWatchesStr GetStrings() const;
|
TWatchesStr GetStrings() const;
|
||||||
void AddFromStrings(const TWatchesStr& bps);
|
void AddFromStrings(const TWatchesStr& bps);
|
||||||
|
|
||||||
const bool IsAddressWatch(u32 _iAddress);
|
bool IsAddressWatch(u32 _iAddress) const;
|
||||||
|
|
||||||
// Add BreakPoint
|
// Add BreakPoint
|
||||||
void Add(u32 em_address);
|
void Add(u32 em_address);
|
||||||
|
@ -135,4 +135,4 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TWatches m_Watches;
|
TWatches m_Watches;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue