MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / ShowTrophyNotification

Method ShowTrophyNotification

android/src/rpcsx-android.cpp:1230–1239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1228class OverlayTrophyNotification : public TrophyNotificationBase {
1229public:
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
1242std::atomic<jlong> MessageDialog::s_pendingProgressId = -1;

Callers 1

show_trophy_notificationFunction · 0.80

Calls 2

showMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected