Skarsnik / sneshacking

Various romhacking stuff
16 stars 2 forks source link

Compilation fixes on OSX #7

Closed milliescient closed 6 years ago

milliescient commented 6 years ago

I had to change a few things to get scompress to compile on my mac. I also tidied up some typos along the way, so it looks like more changes than it really is.

milliescient commented 6 years ago

Thanks for the great tool! With it I successfully extracted all the sprites from alttp and converted them to bmp.

Skarsnik commented 6 years ago

hm, Os X does not have a size_t type? that really weird, maybe it just need another include.

milliescient commented 6 years ago

it does have size_t, but clang gives a warning about casting it to unsigned int, and since -Werror is set, it throws an error.

Skarsnik commented 6 years ago

Hm, I should check all my size_t stuff, it's the proper type to use when addressing pointer :)