libretro / gambatte-libretro

Hard fork of Gambatte to the libretro API.
http://sourceforge.net/projects/gambatte/
GNU General Public License v2.0
105 stars 79 forks source link

Update GBC memory map #128

Closed rzumer closed 5 years ago

rzumer commented 5 years ago

Matches a change to the reference map (https://github.com/RetroAchievements/RAIntegration/pull/366).

Because RA receives memory layout once and does not change it on the fly, the reference map was not compatible. Recent changes appending GBC banks were revised to only map banks 2-7, while the default bank (1) is set to where the "current bank" used to be (no difference in practice, except for removing a duplicate mapping). Left in helper functions to make modifications easier, but they can also be removed or parameterized for cleaner design.