Try this?
https://gbatemp.net/threads/guide-to-installing-uninstalling-ysmenu-on-the-r4.164359/
I managed to get it running a long time ago.
Here is my old post (the first this is the link above):
I got mine working by following
this guide. Try the full tutorial before trying my exception. I found the exception
here in the 5th post. If the tutorial does not work on its own try again except step 7 is a little different. Download
this. Extract "DLDI No-Patch.exe" and use that on "YSMenu.nds" instead of the DLDI patcher in step 7. Remember to finish the original tutorial after step 7.