sf2ww
sf2ww copied to clipboard
Building and running on Apple Silicon (M2)
Anyone tested this?
I've patched sf2types.h
diff --git a/FistBlue/sf2types.h b/FistBlue/sf2types.h
index 850c90c..96ef487 100644
--- a/FistBlue/sf2types.h
+++ b/FistBlue/sf2types.h
@@ -27,7 +27,7 @@
#define SF2_CPU_AMD64
#endif
-#ifdef __arm__
+#if defined(__arm__) || defined(__arm64__)
#define SF2_ENDIAN_LITTLE
#define SF2_CPU_ARM
#endif
then built the roms, compiled the code with cmake, and then ran glutBasics I get a brown screen with debug info only.
I've also tried building and running the code using the xcode project, but I got the same result.
Any tips for areas of the code to look at for platform issues?