mods: Fix crash when loading via LoadCart (#1388)

This commit is contained in:
mageven 2020-07-15 05:10:17 +05:30 committed by GitHub
parent 2900dda633
commit 16dafe6316
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -69,6 +69,8 @@ namespace Ryujinx.HLE.HOS
Npdm metaData = ReadNpdm(codeFs);
_fileSystem.ModLoader.CollectMods(TitleId, _fileSystem.GetBaseModsPath());
if (TitleId != 0)
{
EnsureSaveData(new TitleId(TitleId));