mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-14 14:43:15 +00:00
Lower stack size to clear from 13 to 12 KB (#2967)
This commit is contained in:
parent
1b952bf173
commit
eb21083078
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ template <class ReturnType, class... FuncArgs, class... CallArgs>
|
|||
ReturnType ExecuteGuest(PS4_SYSV_ABI ReturnType (*func)(FuncArgs...), CallArgs&&... args) {
|
||||
EnsureThreadInitialized();
|
||||
// clear stack to avoid trash from EnsureThreadInitialized
|
||||
ClearStack<13_KB>();
|
||||
ClearStack<12_KB>();
|
||||
return func(std::forward<CallArgs>(args)...);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue