GameBoy Emulator in C