diff options
| author | Mahdi Hijazi <mahdi.hijazi@booking.com> | 2017-03-18 21:46:03 +0100 |
|---|---|---|
| committer | Mahdi Hijazi <mahdi.hijazi@booking.com> | 2017-03-18 22:08:41 +0100 |
| commit | 4c0e5dedb41e9c188a0a6d91e40c0016ab93aef0 (patch) | |
| tree | ca5c64179323a505c1fbeb3b0cd6a295252f4294 /Source/Android/app/src/main/java | |
| parent | d19f9038da599c436fb399fb3e2c32ca6609a75d (diff) | |
Fix loading the saved screen shots for Android version
Apparently the path was changed from using "/thump.png" to using
"/gameId-#.png". We will always use the first screenshot for the game
broswer wich will be "/gameId-1.png"
Diffstat (limited to 'Source/Android/app/src/main/java')
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/Game.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/Game.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/Game.java index 6514fade3c..5fd25a2354 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/Game.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/Game.java @@ -95,7 +95,7 @@ public final class Game { ContentValues values = new ContentValues(); - String screenPath = PATH_SCREENSHOT_FOLDER + gameId + "/thumb.png"; + String screenPath = PATH_SCREENSHOT_FOLDER + gameId + "/" + gameId + "-1.png"; values.put(GameDatabase.KEY_GAME_PLATFORM, platform); values.put(GameDatabase.KEY_GAME_TITLE, title); |
