[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:
parent
d9da3cfa60
commit
fafb1ab3e3
Binary file not shown.
|
@ -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;
|
||||
|
|
|
@ -599,7 +599,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
_dialogParent.AddOnScreenMessage($"Leaderboard Attempt Complete! ({lboard.Score})");
|
||||
_dialogParent.AddOnScreenMessage(lboard.Description);
|
||||
PlaySound(_unlockSound);
|
||||
PlaySound(_lboardCompleteSound);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue