I think there is some data in Retroarch corrupt.Delete all the files(move the bios and roms before) and reinstall Retroarch.Or first you overwrite only the PCEngine core.Maybe thats already enough.I myself have also problems with corrupted cores.It was always my solution.