mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 09:41:15 +00:00
[Android] Join declaration and assignment of a ConfigFile object in CoreSelection.java. Also made two variables final.
This commit is contained in:
parent
a16be6af65
commit
16127e046c
@ -21,18 +21,17 @@ public final class CoreSelection extends Activity implements AdapterView.OnItemC
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
ConfigFile core_config;
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
core_config = new ConfigFile();
|
||||
ConfigFile core_config = new ConfigFile();
|
||||
try {
|
||||
core_config.append(getAssets().open("libretro_cores.cfg"));
|
||||
} catch (IOException e) {
|
||||
Log.e(TAG, "Failed to load libretro_cores.cfg from assets.");
|
||||
}
|
||||
|
||||
String cpuInfo = UserPreferences.readCPUInfo();
|
||||
boolean cpuIsNeon = cpuInfo.contains("neon");
|
||||
final String cpuInfo = UserPreferences.readCPUInfo();
|
||||
final boolean cpuIsNeon = cpuInfo.contains("neon");
|
||||
|
||||
setContentView(R.layout.line_list);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user