The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 795 errorHandler->error





Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About breakpoints and the JIT cache
01-19-2014, 04:55 AM
Post: #1
About breakpoints and the JIT cache
1. Is the fact that execute breakpoints only work with dynarec enabled a bug or intended?

2. Is there any way to flush the JIT cache manually? I'm writing a patch for a game that involves injecting a lot of code, and to simplify the injection I wrote a big "cheat" code that loads all of the instructions into memory. But using this code causes the entire emulator to crash unless dynarec is disabled, which wouldn't be a problem except I can't use execute breakpoints in interpreter mode. So I either have to test my code without breakpoints or enable dynarec and right click->"assemble opcode" for 100+ instructions. I'm guessing it crashes because the cheat just lays a bunch of instructions into memory without telling the JIT, so is there any way to manually refresh the JIT cache after loading my code?
Find all posts by this user
Thread Closed 


Messages In This Thread
About breakpoints and the JIT cache - mothball - 01-19-2014 04:55 AM

Forum Jump: