| 1228 | class OverlayTrophyNotification : public TrophyNotificationBase { |
| 1229 | public: |
| 1230 | s32 ShowTrophyNotification( |
| 1231 | const SceNpTrophyDetails &trophy, |
| 1232 | const std::vector<uchar> &trophy_icon_buffer) override { |
| 1233 | if (auto manager = g_fxo->try_get<rsx::overlays::display_manager>()) { |
| 1234 | auto popup = std::make_shared<rsx::overlays::trophy_notification>(); |
| 1235 | return manager->add(popup, false)->show(trophy, trophy_icon_buffer); |
| 1236 | } |
| 1237 | |
| 1238 | return 0; |
| 1239 | } |
| 1240 | }; |
| 1241 | |
| 1242 | std::atomic<jlong> MessageDialog::s_pendingProgressId = -1; |
no test coverage detected