[PR #50] [MERGED] Add auto stubs, update aerolib, faster init #1244

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/50
Author: @skmp
Created: 10/6/2023
Status: Merged
Merged: 10/11/2023
Merged by: @georgemoralis

Base: mainHead: skmp/auto-aerolib-stubs


📝 Commits (1)

  • f1ce6fe Add auto stubs, static init

📊 Changes

9 files changed (+22633 additions, -11232 deletions)

View changed files

📝 CMakeLists.txt (+3 -0)
scripts/ps4_names.txt (+11223 -0)
scripts/ps4_names2stubs.py (+45 -0)
📝 src/Core/PS4/Linker.cpp (+16 -6)
src/Core/PS4/Stubs.cpp (+71 -0)
src/Core/PS4/Stubs.h (+4 -0)
src/Core/PS4/Util/aerolib.cpp (+38 -0)
📝 src/Core/PS4/Util/aerolib.h (+8 -11226)
src/Core/PS4/Util/aerolib.inl (+11225 -0)

📄 Description

Overview

  • Adds a python script to generate the tables from function list
  • Auto resolves the stubs

Details

  • Reworked to use the small aerolib, as the full version is too big to include in such a way
  • Uses a sorted array instead of std::map

@georgemoralis thoughts?


🔄 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/50 **Author:** [@skmp](https://github.com/skmp) **Created:** 10/6/2023 **Status:** ✅ Merged **Merged:** 10/11/2023 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `skmp/auto-aerolib-stubs` --- ### 📝 Commits (1) - [`f1ce6fe`](https://github.com/shadps4-emu/shadPS4/commit/f1ce6fe669b500ac8acfeade11e98a7412dd73e0) Add auto stubs, static init ### 📊 Changes **9 files changed** (+22633 additions, -11232 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+3 -0) ➕ `scripts/ps4_names.txt` (+11223 -0) ➕ `scripts/ps4_names2stubs.py` (+45 -0) 📝 `src/Core/PS4/Linker.cpp` (+16 -6) ➕ `src/Core/PS4/Stubs.cpp` (+71 -0) ➕ `src/Core/PS4/Stubs.h` (+4 -0) ➕ `src/Core/PS4/Util/aerolib.cpp` (+38 -0) 📝 `src/Core/PS4/Util/aerolib.h` (+8 -11226) ➕ `src/Core/PS4/Util/aerolib.inl` (+11225 -0) </details> ### 📄 Description ### Overview - Adds a python script to generate the tables from function list - Auto resolves the stubs ### Details - Reworked to use the small aerolib, as the full version is too big to include in such a way - Uses a sorted array instead of std::map @georgemoralis thoughts? --- <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:46 +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#1244
No description provided.