mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Use std::optional for ESFormats/SharedContentMap
This commit is contained in:
parent
b08653d69d
commit
545006f666
5 changed files with 15 additions and 13 deletions
|
@ -208,7 +208,7 @@ void CNANDContentLoader::InitializeContentEntries(const std::vector<u8>& data_ap
|
|||
{
|
||||
std::string filename;
|
||||
if (content.IsShared())
|
||||
filename = shared_content.GetFilenameFromSHA1(content.sha1);
|
||||
filename = *shared_content.GetFilenameFromSHA1(content.sha1);
|
||||
else
|
||||
filename = StringFromFormat("%s/%08x.app", m_Path.c_str(), content.id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue