mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
IFile: Update to 12.x
This commit is contained in:
parent
c44db90ad1
commit
1ad4c98a5c
1 changed files with 7 additions and 3 deletions
|
@ -118,9 +118,13 @@ public:
|
||||||
explicit IFile(Core::System& system_, FileSys::VirtualFile backend_)
|
explicit IFile(Core::System& system_, FileSys::VirtualFile backend_)
|
||||||
: ServiceFramework{system_, "IFile"}, backend(std::move(backend_)) {
|
: ServiceFramework{system_, "IFile"}, backend(std::move(backend_)) {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, &IFile::Read, "Read"}, {1, &IFile::Write, "Write"},
|
{0, &IFile::Read, "Read"},
|
||||||
{2, &IFile::Flush, "Flush"}, {3, &IFile::SetSize, "SetSize"},
|
{1, &IFile::Write, "Write"},
|
||||||
{4, &IFile::GetSize, "GetSize"}, {5, nullptr, "OperateRange"},
|
{2, &IFile::Flush, "Flush"},
|
||||||
|
{3, &IFile::SetSize, "SetSize"},
|
||||||
|
{4, &IFile::GetSize, "GetSize"},
|
||||||
|
{5, nullptr, "OperateRange"},
|
||||||
|
{6, nullptr, "OperateRangeWithBuffer"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue