mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-01 01:00:04 +02:00
Protect against stack overflow caused by deep recursive calls
* PPTC version bump * Also reset call depth when not using the unmanaged dispatch loop * Increment call depth on function start rather than before call
This commit is contained in:
@@ -128,6 +128,11 @@ namespace ARMeilleure.State
|
||||
public bool GetFPstateFlag(FPState flag) => _nativeContext.GetFPStateFlag(flag);
|
||||
public void SetFPstateFlag(FPState flag, bool value) => _nativeContext.SetFPStateFlag(flag, value);
|
||||
|
||||
internal void ResetCallDepth()
|
||||
{
|
||||
_nativeContext.ResetCallDepth();
|
||||
}
|
||||
|
||||
internal void CheckInterrupt()
|
||||
{
|
||||
if (_interrupted)
|
||||
|
||||
Reference in New Issue
Block a user