mirror of https://github.com/yuzu-mirror/yuzu
fsp: Migrate remaining interfaces to cmif serialization
parent
fdf4a5bc90
commit
4c71bf3d90
@ -1,34 +1,32 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "core/hle/service/cmif_serialization.h"
|
||||||
#include "core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.h"
|
#include "core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.h"
|
||||||
#include "core/hle/service/ipc_helpers.h"
|
|
||||||
|
|
||||||
namespace Service::FileSystem {
|
namespace Service::FileSystem {
|
||||||
|
|
||||||
IMultiCommitManager::IMultiCommitManager(Core::System& system_)
|
IMultiCommitManager::IMultiCommitManager(Core::System& system_)
|
||||||
: ServiceFramework{system_, "IMultiCommitManager"} {
|
: ServiceFramework{system_, "IMultiCommitManager"} {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{1, &IMultiCommitManager::Add, "Add"},
|
{1, D<&IMultiCommitManager::Add>, "Add"},
|
||||||
{2, &IMultiCommitManager::Commit, "Commit"},
|
{2, D<&IMultiCommitManager::Commit>, "Commit"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
||||||
IMultiCommitManager::~IMultiCommitManager() = default;
|
IMultiCommitManager::~IMultiCommitManager() = default;
|
||||||
|
|
||||||
void IMultiCommitManager::Add(HLERequestContext& ctx) {
|
Result IMultiCommitManager::Add() {
|
||||||
LOG_WARNING(Service_FS, "(STUBBED) called");
|
LOG_WARNING(Service_FS, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
R_SUCCEED();
|
||||||
rb.Push(ResultSuccess);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void IMultiCommitManager::Commit(HLERequestContext& ctx) {
|
Result IMultiCommitManager::Commit() {
|
||||||
LOG_WARNING(Service_FS, "(STUBBED) called");
|
LOG_WARNING(Service_FS, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
R_SUCCEED();
|
||||||
rb.Push(ResultSuccess);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Service::FileSystem
|
} // namespace Service::FileSystem
|
||||||
|
Loading…
Reference in New Issue