[PR #612] [MERGED] [Libs] Error Codes #1665

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/612
Author: @lzardy
Created: 8/27/2024
Status: Merged
Merged: 8/27/2024
Merged by: @georgemoralis

Base: mainHead: main


📝 Commits (7)

📊 Changes

11 files changed (+230 additions, -50 deletions)

View changed files

📝 CMakeLists.txt (+3 -0)
📝 src/core/libraries/ajm/ajm.cpp (+3 -2)
src/core/libraries/ajm/ajm_error.h (+28 -0)
📝 src/core/libraries/error_codes.h (+0 -11)
src/core/libraries/gnmdriver/gnm_error.h (+85 -0)
📝 src/core/libraries/gnmdriver/gnmdriver.cpp (+3 -1)
📝 src/core/libraries/ngs2/ngs2_error.h (+93 -31)
📝 src/core/libraries/ngs2/ngs2_impl.cpp (+2 -2)
📝 src/core/libraries/random/random.cpp (+4 -2)
📝 src/core/libraries/random/random.h (+1 -1)
src/core/libraries/random/random_error.h (+8 -0)

📄 Description

  • Finalized error codes of ajm, gnm, ngs2, and random
  • Swapped ajm, gnm, and random to follow the new error file conventions for libraries instead of placing in system error_codes.h

🔄 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/612 **Author:** [@lzardy](https://github.com/lzardy) **Created:** 8/27/2024 **Status:** ✅ Merged **Merged:** 8/27/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (7) - [`96e7bc1`](https://github.com/shadps4-emu/shadPS4/commit/96e7bc1d7177d71b06cc08f8ecda8d5fc0fc303f) ngs2: all errors w/ official names - [`9dc46f8`](https://github.com/shadps4-emu/shadPS4/commit/9dc46f8a1909b007cb38e1783510cf07494b0ceb) ajm errors - [`71c42bb`](https://github.com/shadps4-emu/shadPS4/commit/71c42bb4e5ba79b97947586f26ebab3c9fa9bf8f) gnm errors - [`c562699`](https://github.com/shadps4-emu/shadPS4/commit/c5626991df67fd90a31e3723097b3ee057e7f41a) random errors - [`17a9fbf`](https://github.com/shadps4-emu/shadPS4/commit/17a9fbfbdfd6e441c4027af5a4df7b3cd2c1255b) clang - [`b9c62af`](https://github.com/shadps4-emu/shadPS4/commit/b9c62af4b0512ee8efcca02b51691c20808ea508) random error - [`2755046`](https://github.com/shadps4-emu/shadPS4/commit/2755046b3672c3120bb8593c195434886f40f502) linux ### 📊 Changes **11 files changed** (+230 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+3 -0) 📝 `src/core/libraries/ajm/ajm.cpp` (+3 -2) ➕ `src/core/libraries/ajm/ajm_error.h` (+28 -0) 📝 `src/core/libraries/error_codes.h` (+0 -11) ➕ `src/core/libraries/gnmdriver/gnm_error.h` (+85 -0) 📝 `src/core/libraries/gnmdriver/gnmdriver.cpp` (+3 -1) 📝 `src/core/libraries/ngs2/ngs2_error.h` (+93 -31) 📝 `src/core/libraries/ngs2/ngs2_impl.cpp` (+2 -2) 📝 `src/core/libraries/random/random.cpp` (+4 -2) 📝 `src/core/libraries/random/random.h` (+1 -1) ➕ `src/core/libraries/random/random_error.h` (+8 -0) </details> ### 📄 Description - Finalized error codes of ajm, gnm, ngs2, and random - Swapped ajm, gnm, and random to follow the new error file conventions for libraries instead of placing in system error_codes.h --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:13:28 +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#1665
No description provided.