mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-18 23:42:05 +00:00
x64Emitter: Check end of allocated space when emitting code.
This commit is contained in:
parent
c36ae84b96
commit
5b52b3e9cb
10 changed files with 125 additions and 17 deletions
|
@ -540,7 +540,11 @@ public:
|
|||
}
|
||||
|
||||
virtual ~ARM64XEmitter() {}
|
||||
void SetCodePtr(u8* ptr);
|
||||
|
||||
// 'end' and 'write_failed' are unused in the ARM code emitter at the moment.
|
||||
// They're just here for interface compatibility with the x64 code emitter.
|
||||
void SetCodePtr(u8* ptr, u8* end, bool write_failed = false);
|
||||
|
||||
void SetCodePtrUnsafe(u8* ptr);
|
||||
void ReserveCodeSpace(u32 bytes);
|
||||
u8* AlignCode16();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue