Skip to content

USB: Properly release COM interfaces - #15278

Merged
lightningterror merged 1 commit into
PCSX2:masterfrom
JordanTheToaster:feex
Dec 5, 2026
Merged

lightningterror merged 1 commit into
PCSX2:masterfrom
JordanTheToaster:feex

Conversation

@JordanTheToaster

Copy link
Copy Markdown
Member

Description of Changes

Explicitly reset all directshow COM pointers in directshow::close() before calling couninitialize().

Fixes #15262

Rationale behind Changes

This commit converted the raw pointers into wil::com_ptr_nothrow members but removed all the explicit releases without replacing them with calls to reset() breaking USB camera emulation as seen in 15262.

Suggested Testing Steps

Make sure USB cameras still work properly with eye toy games.

Did you use AI to help find, test, or implement this issue or feature?

No.

@github-actions github-actions Bot added the USB Anything related to the "USB" subsystem of the emulated PS2, or its emulated peripherals. label Dec 2, 2026
@Mrlinkwii Mrlinkwii added this to the Release 2.10 milestone Dec 2, 2026
@lightningterror
lightningterror merged commit ed0665a into PCSX2:master Dec 5, 2026
20 of 21 checks passed
@JordanTheToaster
JordanTheToaster deleted the feex branch December 5, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

USB Anything related to the "USB" subsystem of the emulated PS2, or its emulated peripherals.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Can't play EyeToy: Play in latest build v2.9.203 but can in v2.0.2

4 participants