mirror of
https://github.com/libretro/RetroArch
synced 2025-03-04 16:13:50 +00:00
Merge pull request #312 from lioncash/master
[Android] Catch a more specific exception in HistoryWrapper.java.
This commit is contained in:
commit
6d212ad2f6
@ -20,7 +20,7 @@ public final class HistoryWrapper implements IconAdapterItem {
|
||||
gamePathShort = file.getName();
|
||||
try {
|
||||
gamePathShort = gamePathShort.substring(0, gamePathShort.lastIndexOf('.'));
|
||||
} catch (Exception e) {
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user