OpulenZ code improvements

Changed __inline to "static inline" in the emulator code, which should be safe as those functions aren't used from the outside. This should make it valid C99 code (and buildable for OSX?). And changed a bunch of C++ comments to valid C comments as well, in case someone turns on some pedantic warning mode.