mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 12:30:32 +00:00
- fixed setup of JIT functions that require extra frame space
https://forum.zdoom.org/viewtopic.php?t=68816
This commit is contained in:
parent
d28ba37af2
commit
55bbc4a86b
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ void JitCompiler::SetupFrame()
|
||||||
offsetD = offsetA + (int)(sfunc->NumRegA * sizeof(void*));
|
offsetD = offsetA + (int)(sfunc->NumRegA * sizeof(void*));
|
||||||
offsetExtra = (offsetD + (int)(sfunc->NumRegD * sizeof(int32_t)) + 15) & ~15;
|
offsetExtra = (offsetD + (int)(sfunc->NumRegD * sizeof(int32_t)) + 15) & ~15;
|
||||||
|
|
||||||
if (sfunc->SpecialInits.Size() == 0 && sfunc->NumRegS == 0)
|
if (sfunc->SpecialInits.Size() == 0 && sfunc->NumRegS == 0 && sfunc->ExtraSpace == 0)
|
||||||
{
|
{
|
||||||
SetupSimpleFrame();
|
SetupSimpleFrame();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue