There was an error fetching the commit references. Please try again later.
filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem...
filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem instance by reference Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr.
Showing
- src/core/core.cpp 1 addition, 1 deletionsrc/core/core.cpp
- src/core/hle/service/filesystem/filesystem.cpp 8 additions, 8 deletionssrc/core/hle/service/filesystem/filesystem.cpp
- src/core/hle/service/filesystem/filesystem.h 2 additions, 2 deletionssrc/core/hle/service/filesystem/filesystem.h
- src/core/hle/service/service.cpp 2 additions, 2 deletionssrc/core/hle/service/service.cpp
- src/core/hle/service/service.h 1 addition, 2 deletionssrc/core/hle/service/service.h
- src/yuzu/main.cpp 4 additions, 4 deletionssrc/yuzu/main.cpp
- src/yuzu_cmd/yuzu.cpp 1 addition, 1 deletionsrc/yuzu_cmd/yuzu.cpp
Loading
Please register or sign in to comment