mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Make memory breakpoint faster
Currently, slowmem is used at any time that memory breakpoints are in use. This commit makes it so that whenever the DBAT gets updated, if the address is overllaping any memchecks, it forces the use of slowmem. This allows to keep fastmem for any other cases and noticably increases performance when using memory breakpoints.
This commit is contained in:
@ -87,6 +87,7 @@ public:
|
||||
|
||||
// memory breakpoint
|
||||
TMemCheck* GetMemCheck(u32 address);
|
||||
bool OverlapsMemcheck(u32 address, u32 length);
|
||||
void Remove(u32 address);
|
||||
|
||||
void Clear() { m_mem_checks.clear(); }
|
||||
|
Reference in New Issue
Block a user