mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-05 18:23:39 -04:00
android: camera: Fix still image camera input (#1892)
This commit is contained in:
parent
ccd61d0134
commit
6ad642a984
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue