mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	GameDatabase.java: Fix file exists check on SAF (#6374)
Doesn't really do much other than reduce log spam
This commit is contained in:
		
							parent
							
								
									d9d0fc63ec
								
							
						
					
					
						commit
						9ef42040af
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -125,9 +125,8 @@ public final class GameDatabase extends SQLiteOpenHelper { | |||
| 
 | ||||
|         while (fileCursor.moveToNext()) { | ||||
|             String gamePath = fileCursor.getString(GAME_COLUMN_PATH); | ||||
|             File game = new File(gamePath); | ||||
| 
 | ||||
|             if (!game.exists()) { | ||||
|             if (!FileUtil.Exists(mContext, gamePath)) { | ||||
|                 Log.error("[GameDatabase] Game file no longer exists. Removing from the library: " + | ||||
|                         gamePath); | ||||
|                 database.delete(TABLE_NAME_GAMES, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue