diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-23 17:34:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 17:34:06 +0100 |
commit | 0da6704fc2e45958ee2bf884128ce0ff5897ac1a (patch) | |
tree | 436e6adbf8dba2fdea6985b3e9b8cc24975d382e /src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.cpp | |
parent | Merge pull request #13121 from german77/clean-shortcut (diff) | |
parent | Address review comments (diff) | |
download | yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.gz yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.bz2 yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.lz yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.xz yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.zst yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.zip |
Diffstat (limited to 'src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.cpp')
-rw-r--r-- | src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.cpp b/src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.cpp new file mode 100644 index 000000000..626328234 --- /dev/null +++ b/src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.cpp @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "core/hle/service/cmif_serialization.h" +#include "core/hle/service/filesystem/fsp/fs_i_filesystem.h" +#include "core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.h" + +namespace Service::FileSystem { + +IMultiCommitManager::IMultiCommitManager(Core::System& system_) + : ServiceFramework{system_, "IMultiCommitManager"} { + static const FunctionInfo functions[] = { + {1, D<&IMultiCommitManager::Add>, "Add"}, + {2, D<&IMultiCommitManager::Commit>, "Commit"}, + }; + RegisterHandlers(functions); +} + +IMultiCommitManager::~IMultiCommitManager() = default; + +Result IMultiCommitManager::Add(std::shared_ptr<IFileSystem> filesystem) { + LOG_WARNING(Service_FS, "(STUBBED) called"); + + R_SUCCEED(); +} + +Result IMultiCommitManager::Commit() { + LOG_WARNING(Service_FS, "(STUBBED) called"); + + R_SUCCEED(); +} + +} // namespace Service::FileSystem |