From 4237039d5367376249b731192b7bfd023dc7af69 Mon Sep 17 00:00:00 2001 From: Eladash Date: Tue, 21 Sep 2021 11:46:40 +0300 Subject: [PATCH] sys_fs: Fix SDATA/EDATA file-stat --- rpcs3/Crypto/unedat.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rpcs3/Crypto/unedat.h b/rpcs3/Crypto/unedat.h index 2c6a70d63e..ef351cac04 100644 --- a/rpcs3/Crypto/unedat.h +++ b/rpcs3/Crypto/unedat.h @@ -86,13 +86,9 @@ public: fs::stat_t stat() override { - fs::stat_t stats; - stats.is_directory = false; - stats.is_writable = false; + fs::stat_t stats = edata_file.stat(); + stats.is_writable = false; // TODO stats.size = file_size; - stats.atime = -1; - stats.ctime = -1; - stats.mtime = -1; return stats; }