mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-17 21:24:18 +01:00
* Make trophy notification dialog. * Fix bug where trophy state doesn't persist with game reboot.
17 lines
442 B
C++
17 lines
442 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
#include "Emu/Memory/Memory.h"
|
|
#include "Emu/Cell/Modules/sceNpTrophy.h"
|
|
|
|
#include <QWindow>
|
|
|
|
class trophy_notification_helper : public TrophyNotificationBase
|
|
{
|
|
public:
|
|
trophy_notification_helper(QWindow* game_window) : m_game_window(game_window) { };
|
|
s32 ShowTrophyNotification(const SceNpTrophyDetails& trophy, const std::vector<uchar>& trophy_icon_buffer) override;
|
|
private:
|
|
QWindow* m_game_window;
|
|
};
|