diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-21 06:57:22 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:46 +0200 |
commit | 1f3b41366c742d05b613bd23845efc9b4669832a (patch) | |
tree | f07bf297fa2dd81b6beba74c869d1ca54ec04766 /src/android | |
parent | android: Add kotlin parcelize plugin (diff) | |
download | yuzu-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/android')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt | 5 |
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") |