I'm confirming That this patch works 100% on the R4DS with the latest version of YSmenu. Thanks a lot for the patch!
I would also like to answer the people having trouble patching. This is what happened to me:
I followed the OP's directions to the letter, however when I tried to patch it...