diff options
| author | Aetias <aetias@outlook.com> | 2024-04-20 13:08:56 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-04-20 13:08:56 +0200 |
| commit | a4330e37e9d27799754e1f553cbe9dee9180bc17 (patch) | |
| tree | 61df98173e53f86b95e60b402819974a91db0330 /docs/decompiling.md | |
| parent | 9b3049e7e6c2c582efed00c06c064bd7e208d91a (diff) | |
Support `.c` files in `Makefile`
Diffstat (limited to 'docs/decompiling.md')
| -rw-r--r-- | docs/decompiling.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/decompiling.md b/docs/decompiling.md index 2625a4c4..a779f120 100644 --- a/docs/decompiling.md +++ b/docs/decompiling.md @@ -39,6 +39,7 @@ _0211bf50: .word data_ov09_0211f59c - If no suitable header file exists, make a new one and put any structs and types you need in there. 1. Paste the context into decomp.me, and create the scratch. 1. Copy the `CC_FLAGS` from `Makefile` into the arguments field in decomp.me. + - Also copy `CXX_FLAGS` if your function comes from a `.cpp` file. Otherwise, copy `C_FLAGS` if it's a `.c` file. - Replace the `-d $(REGION)` flag with whichever region you intend to decompile for. You can also delete the flag entirely if the function contains no region differences. 1. Decompile the function and try to get a 100% match. |
