forked from eden-emu/eden
savedata_factory: Eliminate usage of the global system instance
Now there's only two meaningful instances left in core.
This commit is contained in:
parent
ee5e77fbf9
commit
073e07ae2d
4 changed files with 22 additions and 14 deletions
|
@ -717,7 +717,8 @@ void FileSystemController::CreateFactories(FileSys::VfsFilesystem& vfs, bool ove
|
|||
}
|
||||
|
||||
if (save_data_factory == nullptr) {
|
||||
save_data_factory = std::make_unique<FileSys::SaveDataFactory>(std::move(nand_directory));
|
||||
save_data_factory =
|
||||
std::make_unique<FileSys::SaveDataFactory>(system, std::move(nand_directory));
|
||||
}
|
||||
|
||||
if (sdmc_factory == nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue