mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-19 15:31:53 +00:00
Revert "Merge pull request #2358 from Tilka/pie"
This reverts commit0f7f8f8774
, reversing changes made to9f15054358
.
This commit is contained in:
parent
bd196e8c71
commit
0b0f70aad4
19 changed files with 186 additions and 119 deletions
|
@ -28,10 +28,10 @@ public:
|
|||
virtual ~CodeBlock() { if (region) FreeCodeSpace(); }
|
||||
|
||||
// Call this before you generate any code.
|
||||
void AllocCodeSpace(int size, void* hint = nullptr)
|
||||
void AllocCodeSpace(int size)
|
||||
{
|
||||
region_size = size;
|
||||
region = (u8*)AllocateExecutableMemory(region_size, hint);
|
||||
region = (u8*)AllocateExecutableMemory(region_size);
|
||||
T::SetCodePtr(region);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue