mirror of
https://github.com/1superchip/ty-decomp.git
synced 2025-02-21 13:33:51 +00:00
18 lines
588 B
Python
18 lines
588 B
Python
from argparse import ArgumentParser, Namespace
|
|
import common as c
|
|
|
|
def apply(config, args: Namespace):
|
|
config["mapfile"] = c.DOL_MAP
|
|
config["myimg"] = c.DOL_ELF
|
|
config["baseimg"] = c.DOL_EXPECTED
|
|
config["source_directories"] = [c.DOL_SRCDIR, c.INCDIR]
|
|
config["make_command"] = ["ninja"]
|
|
config["makeflags"] = []
|
|
config["arch"] = "ppc"
|
|
config["map_format"] = "mw"
|
|
config["mw_build_dir"] = c.BUILDDIR
|
|
config["objdump_executable"] = c.OBJDUMP
|
|
config["show_line_numbers_default"] = True
|
|
|
|
def add_custom_arguments(parser: ArgumentParser):
|
|
return |