mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
BreakPoints: Make OverlapsMemcheck() a const member function
This doesn't modify class state, it only queries said state.
This commit is contained in:
parent
5ac05725c8
commit
22ece80f19
@ -210,7 +210,7 @@ TMemCheck* MemChecks::GetMemCheck(u32 address, size_t size)
|
||||
return &*iter;
|
||||
}
|
||||
|
||||
bool MemChecks::OverlapsMemcheck(u32 address, u32 length)
|
||||
bool MemChecks::OverlapsMemcheck(u32 address, u32 length) const
|
||||
{
|
||||
if (!HasAny())
|
||||
return false;
|
||||
|
@ -81,7 +81,7 @@ public:
|
||||
|
||||
// memory breakpoint
|
||||
TMemCheck* GetMemCheck(u32 address, size_t size = 1);
|
||||
bool OverlapsMemcheck(u32 address, u32 length);
|
||||
bool OverlapsMemcheck(u32 address, u32 length) const;
|
||||
void Remove(u32 address);
|
||||
|
||||
void Clear() { m_mem_checks.clear(); }
|
||||
|
Loading…
Reference in New Issue
Block a user