android: camera: Fix still image camera input (#1892)

This commit is contained in:
PabloMK7 2026-03-15 15:17:50 +01:00 committed by GitHub
parent ccd61d0134
commit 6ad642a984
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
// Copyright 2023 Citra Emulator Project
// Copyright Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
@ -57,6 +57,7 @@ object StillImageCameraHelper {
val request = ImageRequest.Builder(context)
.data(uri)
.size(width, height)
.allowHardware(false)
.build()
return context.imageLoader.executeBlocking(request).drawable?.toBitmap(
width,