summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-03-21 06:57:22 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:46 +0200
commit1f3b41366c742d05b613bd23845efc9b4669832a (patch)
treef07bf297fa2dd81b6beba74c869d1ca54ec04766 /src
parentandroid: Add kotlin parcelize plugin (diff)
downloadyuzu-1f3b41366c742d05b613bd23845efc9b4669832a.tar
yuzu-1f3b41366c742d05b613bd23845efc9b4669832a.tar.gz
yuzu-1f3b41366c742d05b613bd23845efc9b4669832a.tar.bz2
yuzu-1f3b41366c742d05b613bd23845efc9b4669832a.tar.lz
yuzu-1f3b41366c742d05b613bd23845efc9b4669832a.tar.xz
yuzu-1f3b41366c742d05b613bd23845efc9b4669832a.tar.zst
yuzu-1f3b41366c742d05b613bd23845efc9b4669832a.zip
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt
index c45b467a2..91f6c5d75 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt
@@ -5,9 +5,12 @@ package org.yuzu.yuzu_emu.model
import android.content.ContentValues
import android.database.Cursor
+import android.os.Parcelable
+import kotlinx.parcelize.Parcelize
import java.nio.file.Paths
import java.util.HashSet
+@Parcelize
class Game(
val title: String,
val description: String,
@@ -15,7 +18,7 @@ class Game(
val path: String,
val gameId: String,
val company: String
-) {
+) : Parcelable {
companion object {
val extensions: Set<String> = HashSet(
listOf(".xci", ".nsp", ".nca", ".nro")