forked from Green-Sky/tomato
update sdl Merge commit '4d48f9d23713d94b861da7b5d41baf2a41334994'
This commit is contained in:
2
external/sdl/SDL/cmake/xxd.py
vendored
2
external/sdl/SDL/cmake/xxd.py
vendored
@ -17,7 +17,7 @@ def main():
|
||||
|
||||
binary_data = args.input.open("rb").read()
|
||||
|
||||
with open(args.output, "w") as fout:
|
||||
with args.output.open("w") as fout:
|
||||
fout.write("unsigned char {}[] = {{\n".format(varname))
|
||||
bytes_written = 0
|
||||
while bytes_written < len(binary_data):
|
||||
|
Reference in New Issue
Block a user