Closed ShockSlayer closed 8 months ago
Good call.
I think we're done making changes to this part of SDL3, so it's probably safe to update PhysicsFS, but we'll let it marinate a little longer, just in case.
I attempted to do this, not sure if this is the right approach but it works well enough for my simple use case https://github.com/icculus/physfs/pull/81
The migration document for SDL3 outlines some changes to the SDL_RWops read and write function signatures here.
Naturally, this means the custom RWops implementation example in (extras/physfsrwops.c) will need an update, since it passes functions that use the old signature.
With SDL3 still in a prerelease state, I would imagine it would be currently inadvisable to push any changes until that's solidified. That said, I figured I'd make a note of it here so that it's not forgotten...and because I don't know what I'm looking at yet, I'm not sure how to fix it myself.