kodi-game / game.libretro

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

Fix segfault when logging before Add-on Log Interface is up #111

Closed garbear closed 1 year ago

garbear commented 1 year ago

Description

A few months ago I hit a segfault and wrote a fix for it. Now I'm PRing the fix.

How has this been tested?

Tested with my latest build: https://github.com/garbear/xbmc/releases

I was able to reproduce the segfault. After applying the fix, there is no more segfault.

garbear commented 1 year ago

lol, didn't realized I fixed this exact problem in the exact same way 3 months ago and never merged: https://github.com/kodi-game/game.libretro/pull/109