libretro / libretro-gme

Port of blargg's Game_Music_Emu library
GNU General Public License v3.0
11 stars 17 forks source link

Fix content loading #24

Closed jdgleaver closed 2 years ago

jdgleaver commented 2 years ago

At present it is impossible to load content with the core. This is because:

1) The core incorrectly sets need_fullpath = false, when it absolutely does need the full content path 2) Regardless of whether a valid content path is given, It fails to load content if the frontend passes a content data buffer - which will always be the case, since need_fullpath = false....

This trivial PR fixes this content load issue. It also:

It should be noted that this core is in a rather sorry state, and needs a large amount of polishing. But at least it can now load content....