To install the patch on PPSSPP:
1. Unpack the game iso
The folder structure in your games folder should look like that:
"D:/PSPGAMES/SonicRivals/PSP_GAME"
2. Unpack and replace the files.
3. Play the game.

To install the patch on PSP/Vita/VitaTV:
1. Use a program called UMDGen
2. Open the Sonic Rivals iso in it
3. Unpack the content from the zip file.
4. Replace the files in UMDGen.
5. Save the iso (I recommend uncompressed iso option)
6. Put it in the appropriate folders on PSP/Vita/VitaTV.