clone Emulator.c in the libretro folder
and update makefile to use it instead