mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-27 17:39:39 -06:00
gdb: Fix crash on stop emulation if gdb stub is enabled with app running
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user