GeckoCodeWidget: Take game ID and revision directly instead of through GameFile.

This commit is contained in:
Admiral H. Curtiss
2021-06-06 21:25:37 +02:00
parent 1fbe56210a
commit 414e0f4598
4 changed files with 14 additions and 12 deletions

View File

@ -39,7 +39,8 @@ PropertiesDialog::PropertiesDialog(QWidget* parent, const UICommon::GameFile& ga
InfoWidget* info = new InfoWidget(game);
ARCodeWidget* ar = new ARCodeWidget(game.GetGameID(), game.GetRevision());
GeckoCodeWidget* gecko = new GeckoCodeWidget(game);
GeckoCodeWidget* gecko =
new GeckoCodeWidget(game.GetGameID(), game.GetGameTDBID(), game.GetRevision());
PatchesWidget* patches = new PatchesWidget(game);
GameConfigWidget* game_config = new GameConfigWidget(game);