mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-14 10:14:28 -05:00
Fix output overflow at converting to hpp. Function is untouched. (#2320)
This commit is contained in:
parent
a4c2e155e5
commit
0df2c085a1
@ -135,7 +135,7 @@ def pp_write_bitmaphpp(pngicons_path, hpp_outpath):
|
|||||||
with open(hpp_outpath, "w", encoding="utf-8") as fd:
|
with open(hpp_outpath, "w", encoding="utf-8") as fd:
|
||||||
fd.writelines(out_file)
|
fd.writelines(out_file)
|
||||||
|
|
||||||
print("Find your bitmap.hpp at", out_file)
|
print("Find your bitmap.hpp at", hpp_outpath)
|
||||||
|
|
||||||
|
|
||||||
### Convert from a bitmap.hpp file one or all icons in png.
|
### Convert from a bitmap.hpp file one or all icons in png.
|
||||||
@ -232,6 +232,6 @@ if __name__ == '__main__':
|
|||||||
graphics_path = os.path.join(args.graphics, '')
|
graphics_path = os.path.join(args.graphics, '')
|
||||||
else:
|
else:
|
||||||
graphics_path = os.path.join(os.getcwd(),"graphics", '')
|
graphics_path = os.path.join(os.getcwd(),"graphics", '')
|
||||||
print("Path", graphics_path, "hpp", args.hpp)
|
print("From path", graphics_path, "to file", args.hpp)
|
||||||
pp_write_bitmaphpp(graphics_path, args.hpp)
|
pp_write_bitmaphpp(graphics_path, args.hpp)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
Loading…
Reference in New Issue
Block a user