Skip to content

Camera initialization crash fix#13094

Merged
hrydgard merged 3 commits intomasterfrom
camera-crash-fix
Jul 4, 2020
Merged

Camera initialization crash fix#13094
hrydgard merged 3 commits intomasterfrom
camera-crash-fix

Conversation

@hrydgard
Copy link
Copy Markdown
Owner

@hrydgard hrydgard commented Jul 4, 2020

The logic for choosing a preview size was entirely broken. Improve it.

Fixes #13091 .

@Florin9doi have a look if you have time :)

hrydgard added 2 commits July 5, 2020 01:31
Add sanity checks so we get a black image instead of crash if we would
still fail.
@hrydgard hrydgard merged commit ef250e3 into master Jul 4, 2020
@hrydgard hrydgard deleted the camera-crash-fix branch July 4, 2020 23:53
Comment thread android/src/org/ppsspp/ppsspp/CameraHelper.java
hrydgard added a commit that referenced this pull request Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invizimals crash when camera initialized - 1.10.1

2 participants