1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 15:04:31 +00:00

Properly align asm & data (+ minor fixes) (#165)

* Add .align 4 directives to all data/ files (+ minor alignment fixes)

* Use .balign for everything and fix typo
This commit is contained in:
Roman971 2020-05-27 00:09:00 +02:00 committed by GitHub
parent ba0e57eecd
commit 53ceea717d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
979 changed files with 3631 additions and 1894 deletions

View file

@ -63,7 +63,7 @@ def handle_word_l(match):
def main():
preamble = ".include \"macro.inc\"\n\n # assembler directives\n .set noat # allow manual use of $at\n .set noreorder # don't insert nops after branches\n .set gp=64 # allow use of 64-bit general purposee registers\n\n"
preamble = ".include \"macro.inc\"\n\n # assembler directives\n .set noat # allow manual use of $at\n .set noreorder # don't insert nops after branches\n .set gp=64 # allow use of 64-bit general purpose registers\n\n"
for root, dirs, files in os.walk(data_dir):
for file in files: