mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-15 14:57:59 -05:00
savedata_factory: Eliminate usage of the global system instance
Now there's only two meaningful instances left in core.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user