trash80 / mGB

mGB - Nintendo Gameboy MIDI control for Arduinoboy
GNU General Public License v2.0
234 stars 31 forks source link

Fix preset saving by specifying cartridge type in build param #11

Open TonyTwoStep opened 2 years ago

TonyTwoStep commented 2 years ago

This option will set the cartridge type as ROM+MBC1+RAM+BATT which is needed for presets to save properly and persist a reboot:

See: https://github.com/darconeous/sdcc/blob/master/support/makebin/makebin.c#L129-L143