mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Jit: Make IsInCodeSpace() const
This commit is contained in:
parent
4f276ede0f
commit
fe77505d4d
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ public:
|
||||||
region_size = 0;
|
region_size = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsInSpace(u8 *ptr)
|
bool IsInSpace(u8 *ptr) const
|
||||||
{
|
{
|
||||||
return (ptr >= region) && (ptr < (region + region_size));
|
return (ptr >= region) && (ptr < (region + region_size));
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ public:
|
||||||
|
|
||||||
JitBaseBlockCache *GetBlockCache() { return &blocks; }
|
JitBaseBlockCache *GetBlockCache() { return &blocks; }
|
||||||
|
|
||||||
bool IsInCodeSpace(u8 *ptr) { return IsInSpace(ptr); }
|
bool IsInCodeSpace(u8 *ptr) const { return IsInSpace(ptr); }
|
||||||
|
|
||||||
bool HandleFault(uintptr_t access_address, SContext* ctx) override;
|
bool HandleFault(uintptr_t access_address, SContext* ctx) override;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue