forked from dolphin-emu/dolphin
VertexLoaderX64: fix 2GB warnings
Unlike the CPU JIT, the vertex loader JIT already emits position-independent code, so all we need to do is disable the warning.
This commit is contained in:
@@ -38,7 +38,7 @@ VertexLoaderX64::VertexLoaderX64(const TVtxDesc& vtx_desc, const VAT& vtx_att) :
|
||||
if (!IsInitialized())
|
||||
return;
|
||||
|
||||
AllocCodeSpace(4096);
|
||||
AllocCodeSpace(4096, false);
|
||||
ClearCodeSpace();
|
||||
GenerateVertexLoader();
|
||||
WriteProtect();
|
||||
|
||||
Reference in New Issue
Block a user