libSDL2.0 mod help needed

Ohai!

I am trying to get PICO-8 to run its 64x64 games on my Ledmatrix.
My first approach was Xvfb , taking screenshots and displaying them.
That worked but gives ~0.5 seconds of delay from rendering to display and thats too much for a realtime game with sound and controls.

I found out that PICO-8 (closed source) relies on libSDL2.0 and started poking in there.
LD_PRELOAD worked for that.

I found the relevant functions and tried to get the c-API example code into that.
But after 2 hours of trying i am stuck and i dont know enough about C to continue.
Currently i have a problem that libSDL has “undefined symbols” and i dont know how to solve this.

Does anyone on here feel like he/she/it/? might be able to help?

:*
-flo

i had some success.

releases soon @