DavidSM64 / Quad64

An open-source Super Mario 64 level editor
MIT License
114 stars 24 forks source link

findAndSetSegment02() cleanup and bug fix #20

Closed Jcw87 closed 5 years ago

Jcw87 commented 5 years ago

There was some duplicated code in the findAndSetSegment02(), so I de-duplicated it. I also fixed a bug where the app would use North American offsets to find segment02 in the Chinese ROM. It only ended up being off by 4 bytes and still managed to find segment 02 successfully, so ultimately there is no noticeable change to the end user.