kodi-game / game.libretro

Libretro compatibility layer for the Kodi Game API
GNU General Public License v2.0
37 stars 26 forks source link

[Backport] Move callback initialization after retro_init() #122

Closed garbear closed 6 months ago

garbear commented 6 months ago

Description

Backport of https://github.com/kodi-game/game.libretro/pull/121. Fixes segfault when launching Mesen core.

How has this been tested?

Included in latest round of test builds: https://github.com/garbear/xbmc/releases

Confirmed working here: https://forum.kodi.tv/showthread.php?tid=173361&pid=3180858#pid3180858