Skip to content

Commit

Permalink
Comment retcon
Browse files Browse the repository at this point in the history
  • Loading branch information
meithecatte committed Oct 4, 2020
1 parent 3dc414a commit 3f316ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2020-10-04-trendmicro/re-2-100/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ After failing to figure out how to open a ROM in higan, I cloned the source for
Some strategic source spelunking quickly lead me to the code responsible for dispatching an instruction:

```cpp
// x6502.cpp, around line 490
// x6502.cpp, in X6502_Run, around line 490
IncrementInstructionsCounters();

_PI=_P;
Expand Down Expand Up @@ -120,7 +120,7 @@ New PC: 0x9315, [0x0031] = 00, Y = 00
New PC: 0x9317, [0x0031] = 00, Y = 00
```
Looks like we need to patch `$9916`, then. Careful to take into account the iNES header, we try our modification out:
Looks like we need to patch `$9916`, then. Careful to take into account the iNES header and ROM load address, we try our modification out:
```python
>>> d = open('impossible_game.nes', 'rb').read()
Expand Down

0 comments on commit 3f316ee

Please sign in to comment.