mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
overlays: add optional sound to trophy popup
This commit is contained in:
parent
f262e77fbd
commit
0e20acdf55
5 changed files with 22 additions and 0 deletions
|
@ -110,6 +110,8 @@ void headless_application::InitializeCallbacks()
|
|||
callbacks.get_localized_string = [](localized_string_id, const char*) -> std::string { return {}; };
|
||||
callbacks.get_localized_u32string = [](localized_string_id, const char*) -> std::u32string { return {}; };
|
||||
|
||||
callbacks.play_sound = [](const std::string&){};
|
||||
|
||||
callbacks.resolve_path = [](std::string_view sv)
|
||||
{
|
||||
return QFileInfo(QString::fromUtf8(sv.data(), static_cast<int>(sv.size()))).canonicalFilePath().toStdString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue