diff options
| author | bunnei <bunneidev@gmail.com> | 2016-03-12 12:15:49 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2016-03-12 12:15:49 -0500 |
| commit | 6efb710b2801ff7e2baea0738174b0b8c9a2d9da (patch) | |
| tree | bbea1de82ade8b69c31b824547a67018886fa561 /src/video_core/shader/shader_jit_x64.cpp | |
| parent | c103759cdc334a2aa421c9e4835383960b4be6de (diff) | |
shader_jit_x64: Clear cache after code space fills up.
Diffstat (limited to 'src/video_core/shader/shader_jit_x64.cpp')
| -rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index 1c700fca7..e6cdfe9c5 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp @@ -789,7 +789,7 @@ CompiledShader* JitCompiler::Compile() { } JitCompiler::JitCompiler() { - AllocCodeSpace(1024 * 1024 * 4); + AllocCodeSpace(jit_cache_size); } void JitCompiler::Clear() { |
