Closed c0d3h4x0r closed 5 years ago
This also fixes the similar "illegal instruction" crash while trying to launch "Golden Axe: The Duel".
There are other platforms supported by retropie, not only rpi. Imo you should try to find a more generic way for the platform identification.
I looked for a more generic way and couldn’t find one. This change is better and no worse than what’s in the code already, so I’d recommend taking it.
shouldn't platform
be fed in by the make command? eg in mame2003
https://github.com/libretro/mame2003-libretro/blob/master/Makefile#L155
retropie will set platform
when building via it's internal scripts. i suggest just copying the fallbacks from https://github.com/libretro/mame2003-libretro/blob/master/Makefile#L32 and assume the builder will feed in anything special.
Maybe there’s a bug in RetroPie-Setup, because the mame2010-libretro Makefile is definitely not being passed a value for platform
. I’ll look into it.
Yeah, looks like an oversight in RetroPie-Setup/scriptmodules/libretrocores/lr-mame2010.sh
. I'm preparing a separate fix for that, and I'll update this pull request accordingly.
Fix for https://github.com/libretro/mame2010-libretro/issues/130