Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index with iterator value rather than getSingleIndex() in CAMService::startCapture #512

Merged
merged 1 commit into from
May 11, 2024

Conversation

NerduMiner
Copy link
Contributor

The port may have a value of 3 in this function, which will cause a panic when using getSingleIndex(). getPortIndices() handles this case for us already, so the iterator value is safe to use.

Fixes a crash in The Denpa Men: They Came By Wave (USA).

…SingleIndex()

The port may have a value of 3 in this function, which will cause a panic. getPortIndices() handles this case for us already, so the iterator vale is safe to use
@wheremyfoodat
Copy link
Owner

Lookin good, thanks!

@wheremyfoodat wheremyfoodat merged commit 2cf4563 into wheremyfoodat:master May 11, 2024
14 checks passed
@NerduMiner NerduMiner deleted the camservice-fix branch May 12, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants