Thanks for the function, I'm using it already as I write palette data but I'm not using it (I tried to make 3d quads work with it by using the img_8_bits loading function, but it didn't go too well, so I'll have to write my own sprite loading function for 4 bits sprites textures).
Now, one more request (last one about this I hope) : instead of using a char for the buffer parameter, can you allow us to just put the memory address for direct loading?
I swapped the endianness on the PC side to support Saturn's endianness and I am using the jo_fs_read_next_bytes function to write directly to memory, which should speed up things nicely.
The only problem is that the compiler doesn't like this and throws warnings, which are annoying obviously, but otherwise it works fine.
So I'm not using a buffer at all, just straight to memory, and I think it would be nice that the function works this way right away (since I'm probably the only one using it at the moment, I don't think it will cause huge issues if you make the change on the existing function).
Thanks!