6 changed files with 48 additions and 62 deletions
-
16src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.cpp
-
4src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.h
-
20src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.cpp
-
16src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.h
-
47src/core/hle/service/filesystem/fsp/fs_i_storage.cpp
-
7src/core/hle/service/filesystem/fsp/fs_i_storage.h
@ -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"}, |
|
||||
{2, &IMultiCommitManager::Commit, "Commit"}, |
|
||||
|
{1, D<&IMultiCommitManager::Add>, "Add"}, |
||||
|
{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}; |
|
||||
rb.Push(ResultSuccess); |
|
||||
|
R_SUCCEED(); |
||||
} |
} |
||||
|
|
||||
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}; |
|
||||
rb.Push(ResultSuccess); |
|
||||
|
R_SUCCEED(); |
||||
} |
} |
||||
|
|
||||
} // namespace Service::FileSystem
|
} // namespace Service::FileSystem
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue