mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-02-21 06:12:01 +01:00
more fixes
This commit is contained in:
parent
9bca165b4c
commit
19a66e1114
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from serial import Serial, SerialException
|
from serial import Serial, SerialException
|
||||||
from serial.tools import list_ports
|
from serial.tools import list_ports
|
||||||
import argparse
|
import argparse
|
||||||
@ -418,10 +420,10 @@ if __name__ == "__main__":
|
|||||||
else:
|
else:
|
||||||
sc64.update_firmware(update_file)
|
sc64.update_firmware(update_file)
|
||||||
|
|
||||||
|
if (not is_read):
|
||||||
print(f"Setting save type to [{sc64.get_save_type_label(save_type)}]")
|
print(f"Setting save type to [{sc64.get_save_type_label(save_type)}]")
|
||||||
sc64.set_save_type(save_type)
|
sc64.set_save_type(save_type)
|
||||||
|
|
||||||
if (not is_read):
|
|
||||||
print(f"Setting skip internal bootloader to [{'True' if skip_bootloader else 'False'}]")
|
print(f"Setting skip internal bootloader to [{'True' if skip_bootloader else 'False'}]")
|
||||||
sc64.set_skip_bootloader(skip_bootloader)
|
sc64.set_skip_bootloader(skip_bootloader)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user