mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
ARCodeWidget: Take game ID and revision directly instead of through GameFile.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user