mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-01-16 18:32:35 +00:00
Don't insert title or author when user supplies bootcode for XEX header
This commit is contained in:
parent
1dc003d65f
commit
d3265737ca
@ -75,6 +75,11 @@ def add_xexboot_header(bytes, bootcode=None, title="DEMO", author="an atari user
|
||||
|
||||
if bootcode is None:
|
||||
bootcode = np.fromstring(xexboot_header, dtype=np.uint8)
|
||||
else:
|
||||
# don't insert title or author in user supplied bootcode; would have to
|
||||
# assume that the user supplied everything desired in their own code!
|
||||
title = ""
|
||||
author = ""
|
||||
bootsize = np.alen(bootcode)
|
||||
v = bootcode[9:11].view(dtype="<u2")
|
||||
v[0] = xex_size
|
||||
|
Loading…
x
Reference in New Issue
Block a user