mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
overlays: add system sounds
This commit is contained in:
parent
59b1c324a9
commit
ff5e31f396
8 changed files with 37 additions and 9 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue