Run the emulator as an administrator. It will often notify you that a x360ce.ini file or a .dll file is missing and ask to create them—click "Yes."
While generally safe for single-player games, using any DLL-injection tool in online games with aggressive anti-cheat systems (like VAC or Easy Anti-Cheat) carries a risk of a ban. Availability x360ce version 2.0.2.163
Extract x360ce.exe directly into this folder. Do not put it in a subfolder. Run the emulator as an administrator