mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Allows for stack base to change
This commit is contained in:
parent
2510c16389
commit
4472449cc4
6 changed files with 135 additions and 66 deletions
|
@ -25,7 +25,7 @@ bool StackHelper::CanStackExpand(int wantBytes)
|
|||
intptr stackBase = 0;
|
||||
int stackLimit = 0;
|
||||
BfpThreadResult threadResult;
|
||||
BfpThread_GetStackInfo(NULL, &stackBase, &stackLimit, &threadResult);
|
||||
BfpThreadInfo_GetStackInfo(NULL, &stackBase, &stackLimit, BfpThreadInfoFlags_None, &threadResult);
|
||||
if (threadResult != BfpThreadResult_Ok)
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue