For leaderboards, take a look at the rules on speedrun.com, where they specify what you're allowed to use to run games. I always take a look at the rules before considering a speedrun to make sure I won't be cheating.
Edit: For Sonic Advance 2, you can only use mGBA or Bizhawk with mGBA core. RetroArch is considered cheating.