mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-03-06 21:00:31 +01:00
Fix gdbstub not activating until the console is reset
The check for initialising the gdbstub depending on whether the JIT was enabled or not was the wrong way around: previously, it would only enable the gdbstub if the JIT was enabled. The stub started working again if you reset the console, as NDS::SetGdbArgs didn't have any such check and it was called by EmuInstance::updateConsole.
This commit is contained in:
parent
7d718ada39
commit
b7c4334cca
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ ARM::ARM(u32 num, bool jit, std::optional<GDBArgs> gdb, melonDS::NDS& nds) :
|
||||||
Num(num), // well uh
|
Num(num), // well uh
|
||||||
NDS(nds)
|
NDS(nds)
|
||||||
{
|
{
|
||||||
SetGdbArgs(jit ? gdb : std::nullopt);
|
SetGdbArgs(jit ? std::nullopt : gdb);
|
||||||
}
|
}
|
||||||
|
|
||||||
ARM::~ARM()
|
ARM::~ARM()
|
||||||
|
|
Loading…
Add table
Reference in a new issue