mirror of
				https://github.com/yuzu-emu/yuzu-android.git
				synced 2025-11-04 16:15:01 +00:00 
			
		
		
		
	android: Use path instead of programId for recently added / played key
This commit is contained in:
		
							parent
							
								
									23c1f7c72f
								
							
						
					
					
						commit
						8e93a9a9ef
					
				| 
						 | 
				
			
			@ -18,8 +18,8 @@ class Game(
 | 
			
		|||
    val version: String = "",
 | 
			
		||||
    val isHomebrew: Boolean = false
 | 
			
		||||
) : Parcelable {
 | 
			
		||||
    val keyAddedToLibraryTime get() = "${programId}_AddedToLibraryTime"
 | 
			
		||||
    val keyLastPlayedTime get() = "${programId}_LastPlayed"
 | 
			
		||||
    val keyAddedToLibraryTime get() = "${path}_AddedToLibraryTime"
 | 
			
		||||
    val keyLastPlayedTime get() = "${path}_LastPlayed"
 | 
			
		||||
 | 
			
		||||
    override fun equals(other: Any?): Boolean {
 | 
			
		||||
        if (other !is Game) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue