overlays: add system sounds

This commit is contained in:
Megamouse 2021-10-31 00:48:41 +02:00
parent 59b1c324a9
commit ff5e31f396
8 changed files with 37 additions and 9 deletions

View file

@ -722,7 +722,7 @@ void gs_frame::take_screenshot(std::vector<u8> data, const u32 sshot_width, cons
// Play a sound
Emu.CallAfter([]()
{
if (const std::string sound_path = fs::get_config_dir() + "sounds/screenshot.wav"; fs::is_file(sound_path))
if (const std::string sound_path = fs::get_config_dir() + "sounds/snd_screenshot.wav"; fs::is_file(sound_path))
{
QSound::play(qstr(sound_path));
}