summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/sdmc_factory.cpp
blob: c1edfcef3799421f8217f81b57b2cfee90edb153 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include <memory>
#include "core/core.h"
#include "core/file_sys/sdmc_factory.h"

namespace FileSys {

SDMCFactory::SDMCFactory(VirtualDir dir) : dir(std::move(dir)) {}

ResultVal<VirtualDir> SDMCFactory::Open() {
    return MakeResult<VirtualDir>(dir);
}

} // namespace FileSys