mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Android: Remove check for missing game ID
Now that DOL and ELF files are assigned game IDs, all games have game IDs. (Unless you intentionally craft an ISO file that has the first bytes set to null, but if you do that I think you can live with Dolphin creating a file in GameSettings called ".ini")
This commit is contained in:
parent
3e1a25ead0
commit
1b3f05628b
@ -88,20 +88,8 @@ public final class GameRowPresenter extends Presenter
|
||||
holder.cardParent.setOnLongClickListener((view) ->
|
||||
{
|
||||
FragmentActivity activity = (FragmentActivity) view.getContext();
|
||||
String gameId = gameFile.getGameId();
|
||||
|
||||
if (gameId.isEmpty())
|
||||
{
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(activity, R.style.DolphinDialogBase);
|
||||
builder.setTitle("Game Settings");
|
||||
builder.setMessage("Files without game IDs don't support game-specific settings.");
|
||||
|
||||
builder.show();
|
||||
return true;
|
||||
}
|
||||
|
||||
GamePropertiesDialog fragment = GamePropertiesDialog.newInstance(holder.gameFile);
|
||||
((FragmentActivity) view.getContext()).getSupportFragmentManager().beginTransaction()
|
||||
activity.getSupportFragmentManager().beginTransaction()
|
||||
.add(fragment, GamePropertiesDialog.TAG).commit();
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user