Gameboy emulator written in C