diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-09-12 01:38:14 -0400 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-09-12 01:38:14 -0400 |
| commit | 6d9b4d7d3580d57cc37e2813b476865b82e801b6 (patch) | |
| tree | 26cd4bb438d0a5f0cb519afcd9ef65f31458ce9c /Source/Core/Common/CodeBlock.h | |
| parent | 113cc119de28050df16052139481e2b334da38bc (diff) | |
| parent | 63c9fdd0746f1ad85d60e3c0b4a5f460ffb0457d (diff) | |
Merge pull request #3025 from Tilka/fixfix
VertexLoaderX64: fix 2GB warnings
Diffstat (limited to 'Source/Core/Common/CodeBlock.h')
| -rw-r--r-- | Source/Core/Common/CodeBlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/CodeBlock.h b/Source/Core/Common/CodeBlock.h index 865c4513ca..5a7df9b87f 100644 --- a/Source/Core/Common/CodeBlock.h +++ b/Source/Core/Common/CodeBlock.h @@ -38,10 +38,10 @@ public: virtual ~CodeBlock() { if (region) FreeCodeSpace(); } // Call this before you generate any code. - void AllocCodeSpace(int size) + void AllocCodeSpace(int size, bool need_low = true) { region_size = size; - region = (u8*)AllocateExecutableMemory(region_size); + region = (u8*)AllocateExecutableMemory(region_size, need_low); T::SetCodePtr(region); } |
