summaryrefslogtreecommitdiffstats
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-20 06:21:23 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-20 06:45:02 +0100
commit82528ba7df7bb8b2a6d89c416a66aee5c39f7f66 (patch)
tree98e535bae4b71d89614a0e75b7d83b4de0fa1c5b /src/core/loader/loader.cpp
parentMerge pull request #306 from Subv/even_more_savedata (diff)
downloadyuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.gz
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.bz2
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.lz
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.xz
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.zst
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.zip
Diffstat (limited to 'src/core/loader/loader.cpp')
-rw-r--r--src/core/loader/loader.cpp6
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;