Correct condition for 'save_chip' none/unknown message

Replaces https://github.com/Lesserkuma/FlashGBX/pull/130
This commit is contained in:
Fred Emmott
2026-08-11 15:44:20 -05:00
parent a24975c6a2
commit 9e7a3d9d1f

View File

@@ -3708,7 +3708,7 @@ class FlashGBX_GUI(QtWidgets.QMainWindow):
pass
if save_type == 0:
if save_chip and "Unknown" in save_chip:
if save_chip and "Unknown" not in save_chip:
msg_save_type_s = "<b>" + __("Save Type:") + "</b> {:s}<br>".format(save_chip)
else:
msg_save_type_s = "<b>" + __("Save Type:") + "</b> " + c__("Save Type", "None or unknown (no save data detected)") + "<br>"