[PR #3126] [CLOSED] Common_Ntapi: Error handling via logs #3243

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3126
Author: @Nerveustech
Created: 6/20/2025
Status: Closed

Base: mainHead: ntapi_error_handling


📝 Commits (2)

  • 51270ca Common_Ntapi: Error handling via logs
  • 40b7a1e Fix indentation

📊 Changes

3 files changed (+120 additions, -30 deletions)

View changed files

📝 src/common/logging/filter.cpp (+1 -0)
📝 src/common/logging/types.h (+1 -0)
📝 src/common/ntapi.cpp (+118 -30)

📄 Description

Added error handling for the NTAPI functions to manage cases where they may fail and return NULL.


🔄 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/3126 **Author:** [@Nerveustech](https://github.com/Nerveustech) **Created:** 6/20/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `ntapi_error_handling` --- ### 📝 Commits (2) - [`51270ca`](https://github.com/shadps4-emu/shadPS4/commit/51270ca1759b8f7767db93340b8a9cb1426fe309) Common_Ntapi: Error handling via logs - [`40b7a1e`](https://github.com/shadps4-emu/shadPS4/commit/40b7a1e1037cd1bd4f0520f664b18b6598cfe001) Fix indentation ### 📊 Changes **3 files changed** (+120 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `src/common/logging/filter.cpp` (+1 -0) 📝 `src/common/logging/types.h` (+1 -0) 📝 `src/common/ntapi.cpp` (+118 -30) </details> ### 📄 Description Added error handling for the NTAPI functions to manage cases where they may fail and return NULL. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:58 +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#3243
No description provided.