Just copy and paste your current RetroArch info into another folder called for example (RetroArchSMS)
You need everything except all the cores (just the picodrive core)
Then when you use the custom resolution, save it as core override, rather than per game.
You can do this, as Sega Master System is the only system using the Pico core.