[PR #3323] [MERGED] Return an error before a pad is opened #3388

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3323
Author: @mikusp
Created: 7/25/2025
Status: Merged
Merged: 7/25/2025
Merged by: @squidbus

Base: mainHead: pad_open


📝 Commits (1)

  • 0e2450c Return an error before a pad is opened

📊 Changes

1 file changed (+12 additions, -1 deletions)

View changed files

📝 src/core/libraries/pad/pad.cpp (+12 -1)

📄 Description

Fixes input in Agents of Mayhem CUSA03067. The game calls scePadGetHandle and if it gets a positive value, it never runs the code registering the input method. Instead, it expects an error, and only then calls scePadOpen and starts to respond to controls.


🔄 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/3323 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 7/25/2025 **Status:** ✅ Merged **Merged:** 7/25/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `pad_open` --- ### 📝 Commits (1) - [`0e2450c`](https://github.com/shadps4-emu/shadPS4/commit/0e2450c14e78c87d200330ef28689469ce99d596) Return an error before a pad is opened ### 📊 Changes **1 file changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/pad/pad.cpp` (+12 -1) </details> ### 📄 Description Fixes input in Agents of Mayhem CUSA03067. The game calls scePadGetHandle and if it gets a positive value, it never runs the code registering the input method. Instead, it expects an error, and only then calls scePadOpen and starts to respond to controls. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:31 +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#3388
No description provided.