mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-29 08:44: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:
|
def __debug_process_fsd_read(self, data: bytes) -> None:
|
||||||
sector = int.from_bytes(data[0:4], byteorder="little")
|
sector = int.from_bytes(data[0:4], byteorder="little")
|
||||||
offset = int.from_bytes(data[4:8], byteorder="little")
|
offset = int.from_bytes(data[4:8], byteorder="little")
|
||||||
|
|
||||||
if (self.__fsd_file):
|
if (self.__fsd_file):
|
||||||
self.__fsd_file.seek(sector * 512)
|
self.__fsd_file.seek(sector * 512)
|
||||||
self.__write_cmd("T", offset, 512)
|
self.__write_cmd("T", offset, 512)
|
||||||
@ -552,6 +553,7 @@ class SC64:
|
|||||||
def __debug_process_fsd_write(self, data: bytes) -> None:
|
def __debug_process_fsd_write(self, data: bytes) -> None:
|
||||||
sector = int.from_bytes(data[0:4], byteorder="little")
|
sector = int.from_bytes(data[0:4], byteorder="little")
|
||||||
offset = int.from_bytes(data[4:8], byteorder="little")
|
offset = int.from_bytes(data[4:8], byteorder="little")
|
||||||
|
|
||||||
if (self.__fsd_file):
|
if (self.__fsd_file):
|
||||||
self.__fsd_file.seek(sector * 512)
|
self.__fsd_file.seek(sector * 512)
|
||||||
self.__write_cmd("F", offset, 512)
|
self.__write_cmd("F", offset, 512)
|
||||||
|
Loading…
Reference in New Issue
Block a user