libsm64 / libsm64

Mario 64 as a library for use in external game engines
Creative Commons Zero v1.0 Universal
638 stars 39 forks source link

Add support for macOS and Emscripten builds #60

Closed osnr closed 3 months ago

osnr commented 3 months ago

On macOS, everything seems to work, including the test app:

A0D04B79-3F02-47FD-AA04-1D3A83573355-1330-00000AA5E0E738DA

On Emscripten, I didn't port/try the test app yet, but the library compiles and links into a Web app and can load the ROM and fill the texture with no problems; haven't tested more than that. Hopefully fixes #48.

I also tested Linux build of library & test app and that still works. Didn't get to test Windows.

I think these changes are mostly slight clang differences with include and cast requirements and macOS make/include path differences.

rogerclark commented 3 months ago

letsa go

jaburns commented 3 months ago

Nice, thanks!