mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-27 19:56:23 +02:00
gdb: Fix crash on stop emulation if gdb stub is enabled with app running
This commit is contained in:
parent
785641a402
commit
36bb910e67
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
|
|||
ExceptionCallback breakCallback = null;
|
||||
ExceptionCallbackNoArgs stepCallback = null;
|
||||
|
||||
if (KernelContext.Device.Configuration.EnableGdbStub)
|
||||
if (KernelContext.Device.Configuration.EnableGdbStub && KernelContext.Device.Debugger != null)
|
||||
{
|
||||
breakCallback = KernelContext.Device.Debugger.BreakHandler;
|
||||
stepCallback = KernelContext.Device.Debugger.StepHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue