Skip to content

Commit

Permalink
Match and link synthmacros, update musyx
Browse files Browse the repository at this point in the history
  • Loading branch information
Antidote committed Apr 25, 2024
1 parent 0aac17b commit 530b454
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/GM8E01_00/symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ UpdateThermalVisor__9CGameAreaFf = .text:0x8005E174; // type:function size:0x60
SetWeaponWorldLighting__9CGameAreaFff = .text:0x8005E1D4; // type:function size:0x14 scope:global
SetXRaySpeedAndTarget__9CGameAreaFff = .text:0x8005E1E8; // type:function size:0x14 scope:global
SetThermalSpeedAndTarget__9CGameAreaFff = .text:0x8005E1FC; // type:function size:0x14 scope:global
SetAreaAttributes__9CGameAreaFPC21CScriptAreaAttributes = .text:0x8005E210; // type:function size:0x2C scope:global
SetAreaAttributes__9CGameAreaFP21CScriptAreaAttributes = .text:0x8005E210; // type:function size:0x2C scope:global
GetXRayFogDistance__9CGameAreaFv = .text:0x8005E23C; // type:function size:0x20 scope:global
SetLoadPauseState__9CGameAreaFb = .text:0x8005E25C; // type:function size:0x90 scope:global
GetLayerScriptBuffer__9CGameAreaFi = .text:0x8005E2EC; // type:function size:0x50 scope:global
Expand Down
2 changes: 1 addition & 1 deletion config/GM8E01_01/symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ UpdateThermalVisor__9CGameAreaFf = .text:0x8005E1F0; // type:function size:0x60
SetWeaponWorldLighting__9CGameAreaFff = .text:0x8005E250; // type:function size:0x14 scope:global
SetXRaySpeedAndTarget__9CGameAreaFff = .text:0x8005E264; // type:function size:0x14 scope:global
SetThermalSpeedAndTarget__9CGameAreaFff = .text:0x8005E278; // type:function size:0x14 scope:global
SetAreaAttributes__9CGameAreaFPC21CScriptAreaAttributes = .text:0x8005E28C; // type:function size:0x2C scope:global
SetAreaAttributes__9CGameAreaFP21CScriptAreaAttributes = .text:0x8005E28C; // type:function size:0x2C scope:global
GetXRayFogDistance__9CGameAreaFv = .text:0x8005E2B8; // type:function size:0x20 scope:global
SetLoadPauseState__9CGameAreaFb = .text:0x8005E2D8; // type:function size:0x90 scope:global
GetLayerScriptBuffer__9CGameAreaFi = .text:0x8005E368; // type:function size:0x50 scope:global
Expand Down
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ def Rel(lib_name, objects):
Object(Matching, "musyx/runtime/snd_synthapi.c"),
Object(NonMatching, "musyx/runtime/stream.c"),
Object(Matching, "musyx/runtime/synthdata.c"),
Object(NonMatching, "musyx/runtime/synthmacros.c"),
Object(Matching, "musyx/runtime/synthmacros.c"),
Object(Matching, "musyx/runtime/synthvoice.c"),
Object(Matching, "musyx/runtime/synth_ac.c"),
Object(Matching, "musyx/runtime/synth_adsr.c"),
Expand Down
1 change: 1 addition & 0 deletions tools/decompctx.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
include_dirs = [
os.path.join(root_dir, "include"),
os.path.join(root_dir, "libc"),
os.path.join(root_dir, "extern/musyx/include")
]

include_pattern = re.compile(r'^#include\s*[<"](.+?)[>"]$')
Expand Down

0 comments on commit 530b454

Please sign in to comment.