From ba9fdfa802c14b2a48faa68a8f78336bf8b7d7ba Mon Sep 17 00:00:00 2001 From: scribam Date: Mon, 17 Apr 2017 18:46:42 +0200 Subject: [PATCH] Add cellFsAccess function --- rpcs3/Emu/Cell/Modules/cellFs.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellFs.cpp b/rpcs3/Emu/Cell/Modules/cellFs.cpp index 46ac80ffd8..c68fa959df 100644 --- a/rpcs3/Emu/Cell/Modules/cellFs.cpp +++ b/rpcs3/Emu/Cell/Modules/cellFs.cpp @@ -15,6 +15,12 @@ namespace vm { using namespace ps3; } logs::channel cellFs("cellFs", logs::level::notice); +s32 cellFsAccess() +{ + UNIMPLEMENTED_FUNC(cellFs); + return CELL_OK; +} + s32 cellFsOpen(vm::cptr path, s32 flags, vm::ptr fd, vm::cptr arg, u64 size) { cellFs.warning("cellFsOpen(path=%s, flags=%#o, fd=*0x%x, arg=*0x%x, size=0x%llx) -> sys_fs_open()", path, flags, fd, arg, size); @@ -952,6 +958,7 @@ s32 cellFsSymbolicLink() DECLARE(ppu_module_manager::cellFs)("sys_fs", []() { + REG_FUNC(sys_fs, cellFsAccess); REG_FUNC(sys_fs, cellFsOpen); REG_FUNC(sys_fs, cellFsOpen2); REG_FUNC(sys_fs, cellFsSdataOpen);