diff options
author | Tony Wasserka <neobrainx@gmail.com> | 2014-12-20 15:07:47 +0100 |
---|---|---|
committer | Tony Wasserka <neobrainx@gmail.com> | 2014-12-20 15:07:47 +0100 |
commit | c2753d37a743e48548a6c792a0ec2278591f79a0 (patch) | |
tree | f456dd3613a1916f492b58013be929b7983b29c5 /src/core/loader | |
parent | Merge pull request #306 from Subv/even_more_savedata (diff) | |
parent | Remove C++14/1y requirement (diff) | |
download | yuzu-c2753d37a743e48548a6c792a0ec2278591f79a0.tar yuzu-c2753d37a743e48548a6c792a0ec2278591f79a0.tar.gz yuzu-c2753d37a743e48548a6c792a0ec2278591f79a0.tar.bz2 yuzu-c2753d37a743e48548a6c792a0ec2278591f79a0.tar.lz yuzu-c2753d37a743e48548a6c792a0ec2278591f79a0.tar.xz yuzu-c2753d37a743e48548a6c792a0ec2278591f79a0.tar.zst yuzu-c2753d37a743e48548a6c792a0ec2278591f79a0.zip |
Diffstat (limited to 'src/core/loader')
-rw-r--r-- | src/core/loader/loader.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index 480274d23..b3b58da72 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp @@ -2,7 +2,9 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#include <memory> +#include <string> + +#include "common/make_unique.h" #include "core/file_sys/archive_romfs.h" #include "core/loader/3dsx.h" @@ -75,7 +77,7 @@ ResultStatus LoadFile(const std::string& filename) { // Load application and RomFS if (ResultStatus::Success == app_loader.Load()) { Kernel::g_program_id = app_loader.GetProgramId(); - Service::FS::CreateArchive(std::make_unique<FileSys::Archive_RomFS>(app_loader), Service::FS::ArchiveIdCode::RomFS); + Service::FS::CreateArchive(Common::make_unique<FileSys::Archive_RomFS>(app_loader), Service::FS::ArchiveIdCode::RomFS); return ResultStatus::Success; } break; |