[PR #194] [MERGED] core: Many things #1384

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/194
Author: @raphaelthegreat
Created: 6/12/2024
Status: Merged
Merged: 6/15/2024
Merged by: @raphaelthegreat

Base: mainHead: missed


📝 Commits (10+)

📊 Changes

67 files changed (+1406 additions, -307 deletions)

View changed files

📝 CMakeLists.txt (+11 -5)
📝 src/common/io_file.cpp (+28 -0)
📝 src/common/io_file.h (+3 -0)
📝 src/core/address_space.cpp (+18 -12)
📝 src/core/address_space.h (+5 -2)
📝 src/core/aerolib/stubs.cpp (+3 -2)
📝 src/core/file_sys/fs.cpp (+1 -0)
📝 src/core/libraries/disc_map/disc_map.cpp (+1 -1)
📝 src/core/libraries/gnmdriver/gnmdriver.cpp (+4 -1)
📝 src/core/libraries/kernel/event_flag/event_flag.cpp (+3 -2)
📝 src/core/libraries/kernel/event_flag/event_flag_obj.cpp (+12 -1)
📝 src/core/libraries/kernel/event_flag/event_flag_obj.h (+2 -1)
📝 src/core/libraries/kernel/event_queue.h (+7 -0)
📝 src/core/libraries/kernel/event_queues.cpp (+19 -0)
📝 src/core/libraries/kernel/event_queues.h (+1 -0)
📝 src/core/libraries/kernel/file_system.cpp (+23 -0)
📝 src/core/libraries/kernel/libkernel.cpp (+108 -46)
📝 src/core/libraries/kernel/memory_management.cpp (+9 -10)
📝 src/core/libraries/kernel/thread_management.cpp (+135 -55)
📝 src/core/libraries/kernel/thread_management.h (+39 -3)

...and 47 more files

📄 Description

Mostly from trying to get Cuphead to show anything

  • More shader opcodes
  • Dwarf exception handling
  • Better dynamic relocation (resolve symbols of modules that depend on dylib)
  • Dynamic addition of TLS blocks
  • More pthread functions
  • Semaphores implementation
  • Fixed sceKernelMmap for files
  • Flexible memory tracking
  • Increase stub limit to 1024 (Unity has way too many :/)
  • Blank frame present for videoout

🔄 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/194 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 6/12/2024 **Status:** ✅ Merged **Merged:** 6/15/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `missed` --- ### 📝 Commits (10+) - [`c86a006`](https://github.com/shadps4-emu/shadPS4/commit/c86a00638f4532461047ce9055ab3d9ccd7f29b6) video_core: Add a few missed things - [`eccd454`](https://github.com/shadps4-emu/shadPS4/commit/eccd454db257b1bb4fcbd8e1234e1326291f5ddb) libkernel: More proper memory mapped files - [`1666b9d`](https://github.com/shadps4-emu/shadPS4/commit/1666b9d19947d357fd078fd3607e6edbcbfbf931) memory: Fix tessellation buffer mapping - [`24446bc`](https://github.com/shadps4-emu/shadPS4/commit/24446bcc320e979653ed48b5c55ff13e59d6959d) Cuphead work - [`834d016`](https://github.com/shadps4-emu/shadPS4/commit/834d01662db2350b1ca0845288601ca32ad5321d) sceKernelPollSema fix - [`2142dde`](https://github.com/shadps4-emu/shadPS4/commit/2142ddef10ed9c7d52263e3b4a3f9ceba2a40ff6) clang format - [`276456e`](https://github.com/shadps4-emu/shadPS4/commit/276456e484b75570dfb7d955945f41d24d3f517d) Merge branch 'main' of https://github.com/shadps4-emu/shadPS4 into missed - [`9ccc878`](https://github.com/shadps4-emu/shadPS4/commit/9ccc8786eb2a61110f68727ee8b79b3ef265d01a) fixed ngs2 lle loading and rtc lib - [`a660a94`](https://github.com/shadps4-emu/shadPS4/commit/a660a94f3b68779c05c0cf763604b9949d9e6fcc) draft pthreads keys implementation - [`95340f5`](https://github.com/shadps4-emu/shadPS4/commit/95340f578f25f739f50ecf88f6ee55274f07209c) fixed return codes ### 📊 Changes **67 files changed** (+1406 additions, -307 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+11 -5) 📝 `src/common/io_file.cpp` (+28 -0) 📝 `src/common/io_file.h` (+3 -0) 📝 `src/core/address_space.cpp` (+18 -12) 📝 `src/core/address_space.h` (+5 -2) 📝 `src/core/aerolib/stubs.cpp` (+3 -2) 📝 `src/core/file_sys/fs.cpp` (+1 -0) 📝 `src/core/libraries/disc_map/disc_map.cpp` (+1 -1) 📝 `src/core/libraries/gnmdriver/gnmdriver.cpp` (+4 -1) 📝 `src/core/libraries/kernel/event_flag/event_flag.cpp` (+3 -2) 📝 `src/core/libraries/kernel/event_flag/event_flag_obj.cpp` (+12 -1) 📝 `src/core/libraries/kernel/event_flag/event_flag_obj.h` (+2 -1) 📝 `src/core/libraries/kernel/event_queue.h` (+7 -0) 📝 `src/core/libraries/kernel/event_queues.cpp` (+19 -0) 📝 `src/core/libraries/kernel/event_queues.h` (+1 -0) 📝 `src/core/libraries/kernel/file_system.cpp` (+23 -0) 📝 `src/core/libraries/kernel/libkernel.cpp` (+108 -46) 📝 `src/core/libraries/kernel/memory_management.cpp` (+9 -10) 📝 `src/core/libraries/kernel/thread_management.cpp` (+135 -55) 📝 `src/core/libraries/kernel/thread_management.h` (+39 -3) _...and 47 more files_ </details> ### 📄 Description Mostly from trying to get Cuphead to show anything * More shader opcodes * Dwarf exception handling * Better dynamic relocation (resolve symbols of modules that depend on dylib) * Dynamic addition of TLS blocks * More pthread functions * Semaphores implementation * Fixed sceKernelMmap for files * Flexible memory tracking * Increase stub limit to 1024 (Unity has way too many :/) * Blank frame present for videoout --- <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:19 +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#1384
No description provided.