It won't run from Mojave, I got the following error: (EDIT: tried your binary dmg)
$ ./pcem
dyld: Library not loaded: /usr/lib/system/libsystem_featureflags.dylib
Referenced from: /Applications/PCem.app/Contents/MacOS/./libSystem.B.dylib
Reason: image not found
However I can compile the official pcem code (Sarah Walker's) normally, though since v17 it lacks DynaRec support on mac, that's why I wanted to try your code.
It won't run from Mojave, I got the following error: (EDIT: tried your binary dmg)
$ ./pcem
dyld: Library not loaded: /usr/lib/system/libsystem_featureflags.dylib
Referenced from: /Applications/PCem.app/Contents/MacOS/./libSystem.B.dylib
Reason: image not found
However I can compile the official pcem code (Sarah Walker's) normally, though since v17 it lacks DynaRec support on mac, that's why I wanted to try your code.