mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Debugger improved: Register editor added
How to use the register editor: 1. Load an .ELF file 2. Select any instruction from a thread. (This is a workaround to activate the appropriate event listener. This will be changed in the future). 3. Press 'R' key and modify any register you want. Note: The register editor only works with PPU and SPU threads. Additional changes: * Fixed the filesize problem caused by the instruction editor dialog. * Instruction Editor: Fixed small issue in SPU threads
This commit is contained in:
parent
bf293ebbfc
commit
9c6ae554fa
9 changed files with 226 additions and 32 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#include "stdafx.h"
|
||||
#include "InterpreterDisAsm.h"
|
||||
#include "InstructionEditor.h"
|
||||
|
||||
#include "InstructionEditor.cpp"
|
||||
#include "RegisterEditor.cpp"
|
||||
|
||||
//static const int show_lines = 30;
|
||||
|
||||
|
|
@ -458,6 +460,10 @@ void InterpreterDisAsmFrame::InstrKey(wxListEvent& event)
|
|||
InstructionEditorDialog(this, pc, CPU, decoder, disasm);
|
||||
DoUpdate();
|
||||
return;
|
||||
case 'R':
|
||||
RegisterEditorDialog(this, pc, CPU, decoder, disasm);
|
||||
DoUpdate();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue