libretro / snes9x2010

Snes9x 2010. Port of Snes9x 1.52+ to Libretro (previously called SNES9x Next). Rewritten in C and several optimizations and speedhacks.
Other
98 stars 70 forks source link

Assign map descriptors after ROM is loaded #151

Closed cout closed 2 years ago

cout commented 2 years ago

Moved the assignment of map.descriptors and map.num_descriptors until after the ROM is loaded. Since the descriptors are initialized as part of loading the ROM, assigning these struct members prior to loading the ROM meant that retroarch would never see any memory maps. After this change, I can see the maps in the retroarch log output, as expected.

Fixes #150

inactive123 commented 2 years ago

Good catch! Thanks for this.