Chip8 Emulator with Cocos2d-x front end