This commit is contained in:
Fred Emmott 2026-05-09 09:33:58 -05:00 committed by GitHub
commit 200fabd9fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -920,6 +920,15 @@ class FlashGBX_GUI(QtWidgets.QWidget):
except:
pass
modes = self.CONN.GetSupprtedModes()
if len(modes) == 1:
if modes[0] == "DMG":
self.optDMG.setChecked(True)
self.SetMode()
elif modes[0] == "AGB":
self.optAGB.setChecked(True)
self.SetMode()
return True
return False