Bsnes mercury cores completely disable inputs

I’m using these cores because i can overclock DOOM and run it at full speed. I can’t do that with the regular bsnes core as it gets too slow.

But when i use the mercury core, once the game starts, all my inputs are killed. Nothing works. The joypad doesn’t work, the keyboard keys and hotkeys don’t work… Esc doesn’t work either. I have to Alt+F4 to kill RetroArch, otherwise i can’t do anything.