mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
c785352c6f
The signature DB is very helpful for generating a symbol map for games which don't ship with debugging symbols, since it includes signatures for common SDK functions. However, it isn't very complete and only contained signatures for GC games -- the current database isn't very helpful for Wii games, which still have a huge number of unknown functions even after using this DB. Yet Wii games typically share a lot of code (since they all use the SDK), and not having symbols makes it a lot harder to look into what a game is doing… So this commit adds common Wii SDK function signatures to the database, in order to make generated symbol maps a lot more useful for Wii games. The debug info comes from the debugging map that was left in the Wii version of The Legend of Zelda: Twilight Princess. To avoid cluttering the DB with game-specific debug info (even though it already contains some game-specific symbols), some basic filtering was done on the shipped symbol map: egrep '(section layout|\.a|m_Do|lib|Lib| OS)' tp-framework.map | grep -v Z2 > common-wii-sdk.map Then this map was loaded in Twilight Princess, and "append to existing signature file" was used to append the new hashes to totaldb.dsy.
1.4 MiB
1.4 MiB