mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-01-01 10:30:58 +00:00
Fixed KBoot segment creation
This commit is contained in:
parent
6a924a5970
commit
7ed99d614f
@ -52,4 +52,5 @@ class KBootImage(DiskImageBase):
|
||||
def get_file_segment(self, dirent):
|
||||
start = dirent.exe_start
|
||||
end = dirent.exe_start + dirent.exe_size
|
||||
return XexSegment(self.bytes[start:end], self.style[start:end], 0, 0, 0, start, name="KBoot Executable")
|
||||
raw = self.rawdata[start:end]
|
||||
return XexSegment(raw, 0, 0, start, end, name="KBoot Executable")
|
||||
|
Loading…
Reference in New Issue
Block a user