I had this issue too. If you have a controller plugged in when you drag the game file to the mednafen executable file, it will open the menu for system settings for some reason. I unplugged my controller (ps4, I wasn't using DS4 windows at the moment I did this) and then when I booted up the game it worked. It might not solve the issue, but I hope it worked for me.