I manage to find how to make Castlevania and Contra Ribirth to work for Nvidia Shield dolphin emulator, I needed to uncheck the dual core box in the emulator's settings, although i cant do that with RetroArch.