Import the Snes9x core from CATSFC, with some required changes for compilation.