pineman / fpt

Gameboy emulator (yes, written in rust)
https://pineman.github.io/fpt
MIT License
5 stars 1 forks source link

Fix fake bootrom loading #71

Closed pineman closed 1 month ago

pineman commented 1 month ago

Fix fake bootrom loading. We must load the rom completely (i.e. starting at addr 0), and only then overwrite with the "real" bootrom. This is so we can take a backup, so that, later, when the bootrom finishes, it can unload safely, restoring what the rom had in addrs 0..256