mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
Revert name detection.
This reverts commit 544bb079d747b0fc4286268f8de5a5c9959e3350. This reverts commit fbeadae931ae4446b3d8c56a1488df7ff6261ce0. This reverts commit 5de6e809bfc5111cbfcb69add38bb9cf4deb054f.
This commit is contained in:
parent
1a4b094abf
commit
71f2ad6664
@ -19,16 +19,9 @@ import android.graphics.drawable.*;
|
||||
|
||||
class ModuleWrapper implements IconAdapterItem {
|
||||
public final File file;
|
||||
private String descName;
|
||||
|
||||
private String getDescName(String name) {
|
||||
name = name.replace(".so", "").replace("libretro_", "");
|
||||
return name;
|
||||
}
|
||||
|
||||
public ModuleWrapper(Context aContext, File aFile) throws IOException {
|
||||
file = aFile;
|
||||
descName = getDescName(file.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -38,7 +31,7 @@ class ModuleWrapper implements IconAdapterItem {
|
||||
|
||||
@Override
|
||||
public String getText() {
|
||||
return descName;
|
||||
return file.getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user