Myself086 / Project-Nested

MIT License
493 stars 17 forks source link

CRASH: Witch n' Wiz crashes shortly after title screen #43

Open mhughson opened 2 years ago

mhughson commented 2 years ago

Witch n' Wiz, and NES homebrew using MMC1, crashes shortly after startup, on the titlescreen.

I created the game, so if you want a copy to do tests with, let me know and I can send you a free download code.

https://mhughson.itch.io/witch-n-wiz

image

Tested on both Mesen-S and BSNES, with same results.

https://user-images.githubusercontent.com/310185/144698643-5e3b6a51-62a2-40eb-a751-b6fab4855bd4.mp4

Myself086 commented 2 years ago

I haven't seen this error in a very long time and should be easy to fix, one of your sub-routine is too large or leaked memory during recompilation. It is capped at 0x2000 bytes and I planned to change the limit to be dynamic eventually. I can raise the limit and send you a dev build.

A sub-routine may leak memory in one of 2 ways; JSR followed by data or conditional branch always taken followed by unrelated data or code.

I'll take a free download code and look into it more, it may crash to something else later and you may have to change some things in your code. It's usually minor changes.

I'm active daily on discord: Myself086#6680