[PR #3551] [MERGED] externals: Update libusb to fix more ABI issues. #3565

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

📋 Pull Request Information

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

Base: mainHead: libusb


📝 Commits (1)

  • aa40bcd externals: Update libusb to fix more ABI issues.

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 externals/ext-libusb (+1 -1)
📝 src/core/libraries/usbd/usbd.h (+1 -1)

📄 Description

Moved the ABI declaration from a cast when calling the callback, to using the existing LIBUSB_CALL define to put it everywhere.

This should hopefully fix the issue that appeared with Tekken 7 by making sure that libusb's internal callback is declared with the right ABI. It also makes sure than any other potential users of libusb (e.g. SDL) will inherit the right ABI for callbacks.


🔄 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/3551 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 9/7/2025 **Status:** ✅ Merged **Merged:** 9/7/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `libusb` --- ### 📝 Commits (1) - [`aa40bcd`](https://github.com/shadps4-emu/shadPS4/commit/aa40bcd095256bc08d8c88acdd784264c6efd9c0) externals: Update libusb to fix more ABI issues. ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `externals/ext-libusb` (+1 -1) 📝 `src/core/libraries/usbd/usbd.h` (+1 -1) </details> ### 📄 Description Moved the ABI declaration from a cast when calling the callback, to using the existing `LIBUSB_CALL` define to put it everywhere. This should hopefully fix the issue that appeared with Tekken 7 by making sure that libusb's internal callback is declared with the right ABI. It also makes sure than any other potential users of libusb (e.g. SDL) will inherit the right ABI for callbacks. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:10 +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#3565
No description provided.