Somebody needs to move the plugin thread into the main thread, so that there's only one thread. And then keyboard inputs may work in blight_input. We did that with mupen64 0.5 a year ago, and we did have functional keyboard input, but we had a hard drive crash and lost the patch before we could post it here.![]()
dtm, I've already mentioned it: Mupen64plus has no plugin thread or input thread. The only threads are for the GUI, the emulator, and an audio callback thread which is created and managed by SDL. In fact, you can run in single threaded mode by using the "--nogui --audio ./plugins/dummyaudio.so" switches.
And there are 2 dynarecs in Mupen64Plus - the original Hacktarux code for 32-bit x86 machines with a few bug fixes, and my 64-bit x86-64 dynarec which was based on his code but mostly re-written. It's not correct to say that the dynarec needs to be ported to OSX. It doesn't interface with the operating system at all; only the CPU itself through the machine code that is generated, and the function call ABI, which is probably the same under OSX.
I seem to remember hearing that the Interpreter doesn't run under OSX, correct? The dynarec actually sits on top of and uses the interpreter, so if the Interpreter won't run the dynarec won't either. It's possible that if we find and fix the incompatibility bug in the Interpreter, the dynarec will work as well.