[PR #62] [MERGED] code: Rework elf loader and general cleanup #1253

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/62
Author: @raphaelthegreat
Created: 10/26/2023
Status: Merged
Merged: 10/27/2023
Merged by: @georgemoralis

Base: mainHead: new-elf


📝 Commits (7)

  • ca564b9 core: Rework elf loader
  • 7cbe7c7 linker: Eliminate orphan news
  • f3504b2 singleton: Use unique_ptr
  • 33729d6 main: Remove remnants of imgui example
  • 28819de code: Replace printf/scanf with type safe fmt
  • e196e35 vulkan: Remove orphan new part 1
  • 0021e68 vulkan: Remove orphan new part 2

📊 Changes

20 files changed (+831 additions, -1075 deletions)

View changed files

📝 src/Core/FsFile.cpp (+71 -100)
📝 src/Core/FsFile.h (+77 -52)
📝 src/Core/PS4/GPU/video_out_buffer.cpp (+4 -5)
📝 src/Core/PS4/HLE/Graphics/graphics_ctx.h (+7 -6)
📝 src/Core/PS4/HLE/Graphics/graphics_render.cpp (+28 -41)
📝 src/Core/PS4/HLE/Graphics/graphics_render.h (+8 -6)
📝 src/Core/PS4/Linker.cpp (+146 -167)
📝 src/Core/PS4/Linker.h (+61 -63)
📝 src/Core/PS4/Loader/Elf.cpp (+272 -275)
📝 src/Core/PS4/Loader/Elf.h (+43 -23)
📝 src/Core/PS4/Loader/SymbolsResolver.cpp (+10 -13)
📝 src/Emulator/Util/singleton.h (+8 -11)
📝 src/GUI/ElfViewer.cpp (+13 -13)
📝 src/Util/Disassembler.cpp (+7 -8)
📝 src/Util/config.cpp (+5 -4)
📝 src/emulator.cpp (+22 -26)
📝 src/emulator.h (+6 -5)
📝 src/main.cpp (+8 -213)
📝 src/vulkan_util.cpp (+33 -35)
📝 src/vulkan_util.h (+2 -9)

📄 Description

No description provided


🔄 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/62 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 10/26/2023 **Status:** ✅ Merged **Merged:** 10/27/2023 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `new-elf` --- ### 📝 Commits (7) - [`ca564b9`](https://github.com/shadps4-emu/shadPS4/commit/ca564b928ce5203f83978b2a0ad2279404e12956) core: Rework elf loader - [`7cbe7c7`](https://github.com/shadps4-emu/shadPS4/commit/7cbe7c762ae2cddb341cd15db1cd745118a62d0b) linker: Eliminate orphan news - [`f3504b2`](https://github.com/shadps4-emu/shadPS4/commit/f3504b2d25bbb5fb76479cc5cfbe960a7405f6be) singleton: Use unique_ptr - [`33729d6`](https://github.com/shadps4-emu/shadPS4/commit/33729d634e2048f6ebdea481033b158ad63d8d7a) main: Remove remnants of imgui example - [`28819de`](https://github.com/shadps4-emu/shadPS4/commit/28819dede14b2159092ad50f83b7ecf1aaac9f64) code: Replace printf/scanf with type safe fmt - [`e196e35`](https://github.com/shadps4-emu/shadPS4/commit/e196e356695df40763e246f6293bb6b39fc819b2) vulkan: Remove orphan new part 1 - [`0021e68`](https://github.com/shadps4-emu/shadPS4/commit/0021e68aab95b8b916244466b3168c8b87821132) vulkan: Remove orphan new part 2 ### 📊 Changes **20 files changed** (+831 additions, -1075 deletions) <details> <summary>View changed files</summary> 📝 `src/Core/FsFile.cpp` (+71 -100) 📝 `src/Core/FsFile.h` (+77 -52) 📝 `src/Core/PS4/GPU/video_out_buffer.cpp` (+4 -5) 📝 `src/Core/PS4/HLE/Graphics/graphics_ctx.h` (+7 -6) 📝 `src/Core/PS4/HLE/Graphics/graphics_render.cpp` (+28 -41) 📝 `src/Core/PS4/HLE/Graphics/graphics_render.h` (+8 -6) 📝 `src/Core/PS4/Linker.cpp` (+146 -167) 📝 `src/Core/PS4/Linker.h` (+61 -63) 📝 `src/Core/PS4/Loader/Elf.cpp` (+272 -275) 📝 `src/Core/PS4/Loader/Elf.h` (+43 -23) 📝 `src/Core/PS4/Loader/SymbolsResolver.cpp` (+10 -13) 📝 `src/Emulator/Util/singleton.h` (+8 -11) 📝 `src/GUI/ElfViewer.cpp` (+13 -13) 📝 `src/Util/Disassembler.cpp` (+7 -8) 📝 `src/Util/config.cpp` (+5 -4) 📝 `src/emulator.cpp` (+22 -26) 📝 `src/emulator.h` (+6 -5) 📝 `src/main.cpp` (+8 -213) 📝 `src/vulkan_util.cpp` (+33 -35) 📝 `src/vulkan_util.h` (+2 -9) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:49 +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#1253
No description provided.