Spork-Schivago / SDL2-libs

SDL2 Libraries for the PS3
3 stars 4 forks source link

Compiling SDL2_image with latest PSL1GHT #1

Open jmgk77 opened 4 years ago

jmgk77 commented 4 years ago

Hi,

To compile with latest PSL1GHT, you need add "enable_webp=no" to configure in 002 script, and patch to png_const_bytep to png_const_charp in SDL_png.c

102c102
<     int (*png_sig_cmp) (png_const_bytep sig, png_size_t start, png_size_t num_to_check);
---
>     int (*png_sig_cmp) (png_const_charp sig, png_size_t start, png_size_t num_to_check);
jmgk77 commented 4 years ago

i send a pull request fixing these issues

jmgk77 commented 4 years ago

.