Project

General

Profile

Actions

Emulator Issues #2415

closed

game code cannot be modified by the dolphin debugger after it has been loaded into the jit recompiler(?)

Added by stgngts almost 15 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. load a game, play it
  2. go to PADRead in the code window
  3. insert a blr as the first instruction of PADRead

What is the expected output? What do you see instead?
expected is input being totally ignored, instead it works.

What version of the product are you using? On what operating system?
r5190

Please provide any additional information below.
input is ignored if PADRead is modified before playing.

Actions #1

Updated by stgngts almost 15 years ago

also, this makes relocatable code impossible to modify (temporarily).

Actions #2

Updated by skidau almost 15 years ago

  • Status changed from New to Won't fix

This is because the original PPC code is in the JIT block cache and the JIT will
continue to use that. If you insert the blr before starting the game (use the boot
to pause feature), it'll work like how you expect it to.

An alternative is to clear the code cache.

Actions #3

Updated by stgngts almost 15 years ago

clearing the code cache doesn't work. i am also well aware of applying modifications
before starting the game with boot to pause, but relocatable code is inaccessible.

Actions

Also available in: Atom PDF