diff --git a/src/Editor/CExportGameDialog.cpp b/src/Editor/CExportGameDialog.cpp index 7d0f2bd2..cf9c1ae6 100644 --- a/src/Editor/CExportGameDialog.cpp +++ b/src/Editor/CExportGameDialog.cpp @@ -282,12 +282,13 @@ bool CExportGameDialog::RequestWiiPortGame() return false; } -float CExportGameDialog::FindBuildVersion() +float CExportGameDialog::FindBuildVersion() const { ASSERT(mpDisc != nullptr); // MP1 demo build doesn't have a build version - if (mGame == EGame::PrimeDemo) return 0.f; + if (mGame == EGame::PrimeDemo) + return 0.f; // Get DOL buffer std::unique_ptr pDolData = mpDisc->getDataPartition()->getDOLBuf(); diff --git a/src/Editor/CExportGameDialog.h b/src/Editor/CExportGameDialog.h index eb85ecbe..63603a7b 100644 --- a/src/Editor/CExportGameDialog.h +++ b/src/Editor/CExportGameDialog.h @@ -47,7 +47,7 @@ public: void InitUI(QString ExportDir); bool ValidateGame(); bool RequestWiiPortGame(); - float FindBuildVersion(); + float FindBuildVersion() const; // Disc Tree void RecursiveAddToTree(const nod::Node *pkNode, class QTreeWidgetItem *pParent);