mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-11 20:11:29 +00:00
Only call interrupt handler if still running
This commit is contained in:
parent
8214eac625
commit
c0f9e6bdac
1 changed files with 5 additions and 1 deletions
|
@ -115,7 +115,11 @@ namespace ARMeilleure.State
|
|||
internal void CheckInterrupt()
|
||||
{
|
||||
_nativeContext.SetInterruptState(0);
|
||||
_interruptCallback?.Invoke(this);
|
||||
|
||||
if (Running)
|
||||
{
|
||||
_interruptCallback?.Invoke(this);
|
||||
}
|
||||
}
|
||||
|
||||
public void RequestInterrupt()
|
||||
|
|
Loading…
Reference in a new issue