summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-12-01 16:04:53 -0800
committerPokechu22 <Pokechu022@gmail.com>2022-12-01 17:43:34 -0800
commit4f4bd57fe94ee94bf25236b733641c7684ed4c48 (patch)
treeab5061ae59ceba255ab23257cec02ce195b9a1ce /Source/Core/DolphinQt/Debugger/CodeWidget.cpp
parent7cd9a78ebf6e49b21a5a5eee99858822a8946faa (diff)
Fix crash when stopping emulation while the JIT widget is in use
The call to analyzer.Analyze breaks when it attempts to read an instruction, as it eventually tries to read memory when Memory::m_pRAM is nullptr. Trying to read when execution is not paused in general seems like a bad idea (especially as analyzer.Analyze uses PowerPC::TryReadInstruction which can update icache - this is probably still a problem).
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeWidget.cpp')
0 files changed, 0 insertions, 0 deletions