[PR #125] [MERGED] Savedata + filesystem implementations #1316

Closed
opened 2026-02-27 21:12:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/125
Author: @georgemoralis
Created: 5/5/2024
Status: Merged
Merged: 5/7/2024
Merged by: @georgemoralis

Base: mainHead: savedata


📝 Commits (7)

  • 2b9b3e7 moved savedata to proper folder
  • 277e16c sceSaveDataMount2,sceSaveDataUmount some implementation
  • ad6724e improvements in sceKernelOpen, rewrote sceKernelLseek, added sceKernelWrite, added sceKernelMkdir , partial sceKernelStat
  • 806781a dummy ksernelMunmap (allows we are doomed to progress further)
  • 930f239 clang format
  • 9dff197 libc hle : added ftell , powf , roundf
  • 91dd175 added sceKernelGetTscFrequency

📊 Changes

18 files changed (+267 additions, -37 deletions)

View changed files

📝 CMakeLists.txt (+3 -2)
📝 src/common/path_util.cpp (+1 -0)
📝 src/common/path_util.h (+2 -2)
📝 src/core/libraries/kernel/file_system.cpp (+117 -21)
📝 src/core/libraries/kernel/file_system.h (+39 -0)
📝 src/core/libraries/kernel/libkernel.cpp (+2 -1)
📝 src/core/libraries/kernel/time_management.cpp (+5 -0)
📝 src/core/libraries/kernel/time_management.h (+1 -0)
📝 src/core/libraries/libc/libc.cpp (+3 -0)
📝 src/core/libraries/libc/libc_math.cpp (+8 -0)
📝 src/core/libraries/libc/libc_math.h (+2 -0)
📝 src/core/libraries/libc/libc_stdio.cpp (+4 -0)
📝 src/core/libraries/libc/libc_stdio.h (+1 -0)
📝 src/core/libraries/libs.cpp (+1 -1)
src/core/libraries/save_data/error_codes.h (+8 -0)
📝 src/core/libraries/save_data/savedata.cpp (+54 -9)
📝 src/core/libraries/save_data/savedata.h (+9 -1)
📝 src/core/libraries/system/msgdialog.h (+7 -0)

📄 Description

Some implementations for savedata functions , and some for filesystem ( i will rewrite a better essay @raphaelthegreat ) later


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/125 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 5/5/2024 **Status:** ✅ Merged **Merged:** 5/7/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `savedata` --- ### 📝 Commits (7) - [`2b9b3e7`](https://github.com/shadps4-emu/shadPS4/commit/2b9b3e76bf6802d68ebc3d8ef21024468916e751) moved savedata to proper folder - [`277e16c`](https://github.com/shadps4-emu/shadPS4/commit/277e16c7bab857c00fa7baf94172749b1e35000b) sceSaveDataMount2,sceSaveDataUmount some implementation - [`ad6724e`](https://github.com/shadps4-emu/shadPS4/commit/ad6724eebaba4e4578bdabd53abf182bf02f5ddf) improvements in sceKernelOpen, rewrote sceKernelLseek, added sceKernelWrite, added sceKernelMkdir , partial sceKernelStat - [`806781a`](https://github.com/shadps4-emu/shadPS4/commit/806781a11074e389236c5106b55764b7916fee6d) dummy ksernelMunmap (allows we are doomed to progress further) - [`930f239`](https://github.com/shadps4-emu/shadPS4/commit/930f239556b2f2f4e23e6ab9bc1874509544c5bb) clang format - [`9dff197`](https://github.com/shadps4-emu/shadPS4/commit/9dff1975a3625c98b0ad0a09431464e9bc9283c7) libc hle : added ftell , powf , roundf - [`91dd175`](https://github.com/shadps4-emu/shadPS4/commit/91dd175d6bf8c302cb7e8d44801d0be8d828b8f8) added sceKernelGetTscFrequency ### 📊 Changes **18 files changed** (+267 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+3 -2) 📝 `src/common/path_util.cpp` (+1 -0) 📝 `src/common/path_util.h` (+2 -2) 📝 `src/core/libraries/kernel/file_system.cpp` (+117 -21) 📝 `src/core/libraries/kernel/file_system.h` (+39 -0) 📝 `src/core/libraries/kernel/libkernel.cpp` (+2 -1) 📝 `src/core/libraries/kernel/time_management.cpp` (+5 -0) 📝 `src/core/libraries/kernel/time_management.h` (+1 -0) 📝 `src/core/libraries/libc/libc.cpp` (+3 -0) 📝 `src/core/libraries/libc/libc_math.cpp` (+8 -0) 📝 `src/core/libraries/libc/libc_math.h` (+2 -0) 📝 `src/core/libraries/libc/libc_stdio.cpp` (+4 -0) 📝 `src/core/libraries/libc/libc_stdio.h` (+1 -0) 📝 `src/core/libraries/libs.cpp` (+1 -1) ➕ `src/core/libraries/save_data/error_codes.h` (+8 -0) 📝 `src/core/libraries/save_data/savedata.cpp` (+54 -9) 📝 `src/core/libraries/save_data/savedata.h` (+9 -1) 📝 `src/core/libraries/system/msgdialog.h` (+7 -0) </details> ### 📄 Description Some implementations for savedata functions , and some for filesystem ( i will rewrite a better essay @raphaelthegreat ) later --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:03 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1316
No description provided.