wiz-lang / wiz

A high-level assembly language for writing homebrew software and games on retro console platforms.
http://wiz-lang.org/
Other
409 stars 40 forks source link

Wrong SNES header when using ram size + battery. #105

Closed est77 closed 3 years ago

est77 commented 3 years ago

When using a non zero ram size and battery = true, the DSP1 chip is enabled in the header.

I believe the issue is here: https://github.com/wiz-lang/wiz/blob/master/src/wiz/format/snes_format.cpp#L185 cartTypeLower should be 0x01 in the else statement.