mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-21 21:49:15 +01:00
fixxx
This commit is contained in:
parent
7f9989cab6
commit
8bde0ccfb2
@ -776,11 +776,6 @@ if __name__ == "__main__":
|
||||
firmware_backup_file = "sc64firmware.bin.bak"
|
||||
|
||||
with SC64ProgressBar(sc64):
|
||||
if (rtc):
|
||||
now = datetime.now()
|
||||
print(f"Setting RTC to [{now}]")
|
||||
sc64.set_rtc(now)
|
||||
|
||||
if (update_file):
|
||||
if (is_read):
|
||||
sc64.backup_firmware(update_file)
|
||||
@ -793,6 +788,11 @@ if __name__ == "__main__":
|
||||
print("SummerCart64 is already updated to latest version")
|
||||
os.remove(firmware_backup_file)
|
||||
|
||||
if (rtc):
|
||||
now = datetime.now()
|
||||
print(f"Setting RTC to [{now}]")
|
||||
sc64.set_rtc(now)
|
||||
|
||||
if (not is_read):
|
||||
if (boot_mode != 2):
|
||||
print(f"Setting boot mode to [{sc64.get_boot_mode_label(boot_mode)}]")
|
||||
|
Loading…
Reference in New Issue
Block a user