mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Decompile ll.c functions
This commit is contained in:
1 parent
c43f87d766
commit
18364b4e90
25 files changed
+199
-325
No files matched your search
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
"""
|
||||
patchmips3 - overwrites a byte in an -mips3 object file which makes it identify
|
||||
as a -mips2 object file, which allows it to be linked with the rest of the
|
||||
project.
|
||||
|
||||
This is required become some libultra files must be compiled with -mips3.
|
||||
"""
|
||||
|
||||
fd = open(sys.argv[1], 'rb+')
|
||||
fd.seek(0x24)
|
||||
fd.write(bytes([0x10]))
|
||||
fd.close()
|
||||
Reference in new issue
Block a user