From c1607d14dc25449f56306a2c2f4737fa52a87c87 Mon Sep 17 00:00:00 2001 From: Eladash <18193363+elad335@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:58:25 +0200 Subject: [PATCH] Add debug info to sys_fs_lseek --- rpcs3/Emu/Cell/lv2/sys_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_fs.cpp b/rpcs3/Emu/Cell/lv2/sys_fs.cpp index 86dbe66623..7518cec588 100644 --- a/rpcs3/Emu/Cell/lv2/sys_fs.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_fs.cpp @@ -2622,7 +2622,7 @@ error_code sys_fs_lseek(ppu_thread& ppu, u32 fd, s64 offset, s32 whence, vm::ptr { switch (auto error = fs::g_tls_error) { - case fs::error::inval: return CELL_EINVAL; + case fs::error::inval: return {CELL_EINVAL, "fd=%u, offset=0x%x, whence=%d", fd, offset, whence}; default: sys_fs.error("sys_fs_lseek(): unknown error %s", error); }