summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-03-21 22:06:13 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:44 +0200
commit72bef4fa95f99f644e27aabea3fe8030fd689fc6 (patch)
tree85522d77b0200eb64ca63dde518ddd28488e572f
parentandroid: Use view binding (diff)
downloadyuzu-72bef4fa95f99f644e27aabea3fe8030fd689fc6.tar
yuzu-72bef4fa95f99f644e27aabea3fe8030fd689fc6.tar.gz
yuzu-72bef4fa95f99f644e27aabea3fe8030fd689fc6.tar.bz2
yuzu-72bef4fa95f99f644e27aabea3fe8030fd689fc6.tar.lz
yuzu-72bef4fa95f99f644e27aabea3fe8030fd689fc6.tar.xz
yuzu-72bef4fa95f99f644e27aabea3fe8030fd689fc6.tar.zst
yuzu-72bef4fa95f99f644e27aabea3fe8030fd689fc6.zip
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt
index 4114f3fdc..e9f926d84 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt
@@ -191,7 +191,7 @@ class GameAdapter(private val activity: AppCompatActivity) : RecyclerView.Adapte
}
}
- private fun decodeGameIcon(uri: String): Bitmap {
+ private fun decodeGameIcon(uri: String): Bitmap? {
val data = NativeLibrary.GetIcon(uri)
return BitmapFactory.decodeByteArray(
data,