[RetroAchievements] Separate leaderboard complete sound effect.

Default file is just a duplicate of unlock.wav, a user can put in their own wav file if they choose to.

Resolves #4166
This commit is contained in:
CasualPokePlayer 2025-01-06 13:26:03 -08:00
parent d9da3cfa60
commit fafb1ab3e3
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -22,6 +22,7 @@ namespace BizHawk.Client.EmuHawk
private static readonly MemoryStream _unlockSound = ReadWavFile( "overlay/unlock.wav");
private static readonly MemoryStream _lboardStartSound = ReadWavFile("overlay/lb.wav");
private static readonly MemoryStream _lboardFailedSound = ReadWavFile("overlay/lbcancel.wav");
private static readonly MemoryStream _lboardCompleteSound = ReadWavFile("overlay/lbcomplete.wav");
private static readonly MemoryStream _infoSound = ReadWavFile("overlay/info.wav");
private readonly Action<Stream> _playWavFileCallback;

View File

@ -599,7 +599,7 @@ namespace BizHawk.Client.EmuHawk
_dialogParent.AddOnScreenMessage($"Leaderboard Attempt Complete! ({lboard.Score})");
_dialogParent.AddOnScreenMessage(lboard.Description);
PlaySound(_unlockSound);
PlaySound(_lboardCompleteSound);
}
}