diff options
| author | Léo Lam <leo@leolam.fr> | 2021-02-10 22:50:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-10 22:50:40 +0100 |
| commit | ddacbf83f65b9642f3c9cee9e075b7ec3d473321 (patch) | |
| tree | f078218d8bd1493b196d65a8dc62ee462f38d543 /Source/Core/UICommon/GameFile.cpp | |
| parent | 1e71904cb9930eccc036e2ce2360beaa746befa7 (diff) | |
| parent | 83c127784b70fe1628a8718ceff52dcbcd08634c (diff) | |
Merge pull request #9461 from cbartondock/master
Working Game IDs for Elf/Dol files
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index 3b2e8a0bd3..13eb4457aa 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -157,6 +157,7 @@ GameFile::GameFile(std::string path) : m_file_path(std::move(path)) { m_valid = true; m_file_size = m_volume_size = File::GetSize(m_file_path); + m_game_id = SConfig::MakeGameID(m_file_name); m_volume_size_is_accurate = true; m_is_datel_disc = false; m_is_nkit = false; |
