줄바꿈을 LF로 통일
서버에서 바로 빌드하고 고칠 수 있게 저장소 줄바꿈을 LF로 맞췄습니다. CRLF로 들어가 있던 sh 빌드 스크립트도 이제 리눅스에서 그대로 돌아갑니다. 내용은 바뀌지 않았습니다.
This commit is contained in:
1 parent
40615838ac
commit
2d48091205
623 files changed
+501372
-501365
No files matched your search
+8
-8
@@ -1,8 +1,8 @@
|
||||
# test image: sms.bin at 0xA0000 with its settings block, the ROM at 0x200000, the saves at 0x300000 (64 KB)
|
||||
import sys, struct
|
||||
app, rom, out = sys.argv[1], sys.argv[2], sys.argv[3]
|
||||
fl = bytearray(b'\xff' * 0x400000)
|
||||
a = open(app, 'rb').read(); r = open(rom, 'rb').read()
|
||||
fl[0xA0000:0xA0000 + len(a)] = a; fl[0x200000:0x200000 + len(r)] = r
|
||||
struct.pack_into('<6I16s', fl, 0xA0000 + 0x140, 0x53584D50, 1, 0x200000, len(r), 0x300000, int(sys.argv[4]) if len(sys.argv) > 4 else 2, b'MASTER SYSTEM')
|
||||
open(out, 'wb').write(fl)
|
||||
# test image: sms.bin at 0xA0000 with its settings block, the ROM at 0x200000, the saves at 0x300000 (64 KB)
|
||||
import sys, struct
|
||||
app, rom, out = sys.argv[1], sys.argv[2], sys.argv[3]
|
||||
fl = bytearray(b'\xff' * 0x400000)
|
||||
a = open(app, 'rb').read(); r = open(rom, 'rb').read()
|
||||
fl[0xA0000:0xA0000 + len(a)] = a; fl[0x200000:0x200000 + len(r)] = r
|
||||
struct.pack_into('<6I16s', fl, 0xA0000 + 0x140, 0x53584D50, 1, 0x200000, len(r), 0x300000, int(sys.argv[4]) if len(sys.argv) > 4 else 2, b'MASTER SYSTEM')
|
||||
open(out, 'wb').write(fl)
|
||||
Reference in new issue
Block a user