mirror of
https://git.citron-emu.org/Citron/Citron.git
synced 2025-03-06 18:08:48 +01:00
Android: Remove redundant firmware check
Remove duplicate firmware presence check in EmulationActivity. The isFirmwareAvailable() check already handles this functionality, making checkFirmwarePresence() redundant.
This commit is contained in:
parent
dc9fbcc893
commit
5caecd8151
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
|
||||||
// Check if firmware is available
|
// Check if firmware is available
|
||||||
if (!NativeLibrary.isFirmwareAvailable() || !NativeLibrary.checkFirmwarePresence()) {
|
if (!NativeLibrary.isFirmwareAvailable()) {
|
||||||
AlertDialog.Builder(this)
|
AlertDialog.Builder(this)
|
||||||
.setTitle(R.string.firmware_missing_title)
|
.setTitle(R.string.firmware_missing_title)
|
||||||
.setMessage(R.string.firmware_missing_message)
|
.setMessage(R.string.firmware_missing_message)
|
||||||
|
|
Loading…
Reference in a new issue