What I want to do is find the assembly instructions responsible for an in-game event, by comparing the list of instructions executed during that event with instructions executed when the event isn't activated, and finding instructions unique to the former.
To that end, I need to be able to print out every instruction executed since the start of the game. But I haven't found such a feature in Dolphin's debug mode. If such a feature doesn't exist, I'd like to code it myself. Only I'm not sure where to start; the Dolphin code is pretty intimidating. JIT.cpp? Core.cpp? Or elsewhere?
I'll keep looking, but if anyone with more experience with the Dolphin code knows the best place to start looking, I would really appreciate it.
To that end, I need to be able to print out every instruction executed since the start of the game. But I haven't found such a feature in Dolphin's debug mode. If such a feature doesn't exist, I'd like to code it myself. Only I'm not sure where to start; the Dolphin code is pretty intimidating. JIT.cpp? Core.cpp? Or elsewhere?
I'll keep looking, but if anyone with more experience with the Dolphin code knows the best place to start looking, I would really appreciate it.