mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
ARCodeWidget: Take game ID and revision directly instead of through GameFile.
This commit is contained in:
parent
684d09b342
commit
1fbe56210a
4 changed files with 7 additions and 11 deletions
|
@ -16,11 +16,6 @@ namespace ActionReplay
|
|||
struct ARCode;
|
||||
}
|
||||
|
||||
namespace UICommon
|
||||
{
|
||||
class GameFile;
|
||||
}
|
||||
|
||||
class CheatWarningWidget;
|
||||
class QLabel;
|
||||
class QListWidget;
|
||||
|
@ -31,7 +26,7 @@ class ARCodeWidget : public QWidget
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ARCodeWidget(const UICommon::GameFile& game, bool restart_required = true);
|
||||
explicit ARCodeWidget(std::string game_id, u16 game_revision, bool restart_required = true);
|
||||
~ARCodeWidget() override;
|
||||
|
||||
void AddCode(ActionReplay::ARCode code);
|
||||
|
@ -56,7 +51,6 @@ private:
|
|||
|
||||
void OnListReordered();
|
||||
|
||||
const UICommon::GameFile& m_game;
|
||||
std::string m_game_id;
|
||||
u16 m_game_revision;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue