// Load the ROM into SNES9x load_rom(rom_file_name); } Note that this is a basic example and may require modifications to work with SNES9x and the 3DS.