Hi,
My games make use of the playdate C API SDK, and what i did was copy the header files from panic (so no implementations) and tried to implement every single function from the Playdate C API SDK on my own using SDL2 or stub them. It's gotten in such a state that it works for my games and i can just take unmodified playdate C API games source code and recompile for other targets using my api reimplementation. And because i've used SDL2 i can also let it compile using emscripten which will produce webassembly code and run my playdate games in a browser. You can find this api reimplementation here https://github.com/joyrider3774/Playdate_Api_SDL2 but as said does not work for every game, some things will never work (framebuffer modifications), and some things not implemented (but stubbed). If your using the lua SDK someone else might have done something similar.