mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 05:59:15 +01:00
py spacing
This commit is contained in:
parent
1814dc67f2
commit
49251e50f2
@ -541,6 +541,7 @@ class SC64:
|
||||
def __debug_process_fsd_read(self, data: bytes) -> None:
|
||||
sector = int.from_bytes(data[0:4], byteorder="little")
|
||||
offset = int.from_bytes(data[4:8], byteorder="little")
|
||||
|
||||
if (self.__fsd_file):
|
||||
self.__fsd_file.seek(sector * 512)
|
||||
self.__write_cmd("T", offset, 512)
|
||||
@ -552,6 +553,7 @@ class SC64:
|
||||
def __debug_process_fsd_write(self, data: bytes) -> None:
|
||||
sector = int.from_bytes(data[0:4], byteorder="little")
|
||||
offset = int.from_bytes(data[4:8], byteorder="little")
|
||||
|
||||
if (self.__fsd_file):
|
||||
self.__fsd_file.seek(sector * 512)
|
||||
self.__write_cmd("F", offset, 512)
|
||||
|
Loading…
Reference in New Issue
Block a user