diff --git a/src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java b/src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java index f4086386f8..4a67c9a1ac 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java +++ b/src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java @@ -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,