notaz / picodrive

Fast MegaDrive/MegaCD/32X emulator
Other
290 stars 165 forks source link

Picodrive core not loading in Retroarch #48

Open theslink2000 opened 7 years ago

theslink2000 commented 7 years ago

Hi,

I've been using Retroaroch for a while now and I've recently installed it on my Android TV (Sony X83c), which is now running Android 6.0.1, and it all runs smoothly. I've got NES, SNES, N64 and PSX cores running perfectly but I'm having an issue with Picodrive.

I'm running a nightly build of Retroarch from early June, but this issue had been present on every version I've tried on my TV from the Android market version upwards through about five nightlies I've tried.

Basically when I try loading the core it doesn't change from saying "No Core" in the bottom left and when I select a rom it tries loading and then just says "Failed to load libretro core". I've updated the core through the online updater loads of times and the Sega related roms sort themselves correctly into playlists so the file association is working, but I just can't seem to get the core to work.

I've got some log files from my TV and you can see the relevant bits here:

https://pastebin.com/HHu58q074

The error appears to say:

picodrive_libretro_android.so: has text relocations

From what I've read this issue has hit a few cores since the Android 6.0 update, but no one seems to have asked here.

I'd really appreciate any help in getting this working.

Cheers.

notaz commented 7 years ago

Known issue, still on the TODO list. More info here: https://github.com/libretro/pcsx_rearmed/issues/116

theslink2000 commented 7 years ago

Ah, I was pretty sure it would be know but I couldn't find it so I'm really sorry for posting a known issue!

Could I just ask something to follow up please?

In that thread you have referenced they discuss compiling the app using API 21, is this an approach that would help in this situation as well? If so I assume I can get all I need from the Retroarch archives to attempt this, but would it also risk screwing up my other cores?

I must want to establish if there's anything I can do to patch the issue before an updates is ready.

Either way huge kudos on the emulator!

notaz commented 7 years ago

Finally pushed some fixes for this. Be sure to update submodules when building, or build from a fresh clone.

inactive123 commented 7 years ago

Hi there notaz, thanks very much for pushing this.

We should probably figure out a way soon how we can get the libretro core back inline with upstream soon. Hopefully there is interest in that.

I had to make some changes on my end to support some more platforms, so some of those additions could hopefully be incorporated back into upstream.

notaz commented 7 years ago

I'm not against it, but the last PR was huge and had conflicts which were too much work to untangle. I need the standalone build to keep working at all times for development and working git bisect, so I don't want to merge without proper checking.

I guess we could do the special 'ours' (from my point of view) git merge which I did when PCSX went out of sync long ago. I can try to look at it sometime later.