summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/GameFile.cpp
diff options
context:
space:
mode:
authorcbartondock <cbartondock@gmail.com>2021-01-21 10:47:07 -0500
committercbartondock <cbartondock@gmail.com>2021-01-30 09:51:37 -0500
commit83c127784b70fe1628a8718ceff52dcbcd08634c (patch)
treeab2cae73e20679273b5536a73f1304a86ceb62aa /Source/Core/UICommon/GameFile.cpp
parentebf3b5faf4e4716bbe55174eb2a3d7f5a9fc4599 (diff)
Working Game IDs for Elf/Dol files
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
-rw-r--r--Source/Core/UICommon/GameFile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp
index a169ef0f66..24d6751fdf 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;