mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-26 20:44:35 -04:00
041ff613ca992934c4ea1e9784a98acf01e766aa
Previously, 'data/maps.o' and 'data/map_events.o' were not rebuilt if
any of the header files they '#include' are modified. You can verify
this via 'make' with something like:
$ make -n -W include/constants/songs.h | grep maps.o
which shows that 'data/maps.o' is not rebuilt. Or by modifying a header
included in 'data/maps.s' in a way that should break assembling it (e.g.
by removing a '#define' that is only used in 'data/maps.s').
Additionally, fixes a bug in Expansion from an interaction between
'preproc -e' generating (global) symbols and those symbols being
generated for multiple object files, and thus falling out of sync
between (e.g.) 'data/map_events.o' and 'data/event_scripts.o', resulting
in an unhelpful multiple definition error from the linker like:
arm-none-eabi-ld: data/map_events.o: in function `ITEM_TM01':
(*ABS*+0x247): multiple definition of `ITEM_TM01'
Pokémon Emerald
This is a decompilation of Pokémon Emerald.
It builds the following ROM:
- pokeemerald.gba
sha1: f3ae088181bf583e55daf962a92bb46f4f1d07b7
To set up the repository, see INSTALL.md.
For contacts and other pret projects, see pret.github.io.
Description
Languages
C
75.6%
Assembly
20.1%
C++
3.9%
Linker Script
0.2%
Makefile
0.2%