Open Aced14 opened 6 years ago
Would it be possible for a project maintainer to add a "Debugger" label to this issue? It might also warrant "GUI/WX" and/or "Bug" labels.
I made this a few months back. It works if the main elf uses the syscall LoadExecPS2 (0x06) https://github.com/f0bes/pcsx2/tree/haha-help
That could be good for loading patches/gamefixes on demo/compilation discs since right now we have to relate it to the main ELF and doing patches is pretty much out of the question.
@F0bes Is this something to be addressed in your PR/Qt?
This needs more than just some debugger changes, it would need a lot of ELF loading redesign, but I'll update the tags.
PCSX2 version: v1.5.0-dev-2174-g9c8a48f38 (2017-08-14; 9c8a48f38c46059263607b81217ca87ebc787b70)
PCSX2 options: Defaults.
Plugins used: Defaults (GSdx32-SSE4, LilyPad, SPU2-X, cdvdGigaherz, USBnull, FWnull and DEV9ghzdrk).
Description of the issue: PCSX2's debugger is capable of listing ELF function names and highlighting each function's associated MIPS instructions (by changing their background colours), But those are currently only done for a game's default ELF file. That's fine for games that only use a single ELF file.
However, various games contain multiple ELF files. The debugger isn't currently capable of refreshing function names/highlighting effects when those games switch between ELF files.
Any chance the debugger could be enhanced to automatically refresh function lists/highlighting effects when multi-ELF games switch between ELF files and when loading save states originating from secondary ELF files?
How to reproduce the issue:
Last known version to work:
PC specifications: CPU: Intel Core i7 2600K @ 3.4GHz; GPU: XFX Radeon HD 6970 2GB; GPU driver: Crimson 16.2.1 Beta; OS: Windows 7 SP1.
Other comments: @Kingcom @NZJenkins @turtleli FYI.