Skip to content

Conversation

@KooShnoo
Copy link

Improves navigating the repo using clangd as a language server. Clangd gives spurious errors about codewarrior's fixed address syntax like volatile u16 VI_HW_REGS[] : 0xCC002000;. It also doesn't like asm blocks. I copied some useful macros from rb3 to work around this: AT_ADDRESS and PPC_ASM. See: https://github.com/DarkRTA/rb3/blob/master/src/decomp.h#L71-L77 and https://github.com/DarkRTA/rb3/blob/94fc872b13b24acac25c7dcce0dcda008225ffef/doc/src-old/sdk/RVL_SDK/revolution/os/OSUtils.h#L13-L17.
I also temporarily configured the build system to emit -I in place of -ir since "Recursive includes are not supported by modern compilers" as dtk-template says. This works well enough, but it's not perfect.

@decomp-dev
Copy link

decomp-dev bot commented May 12, 2025

Report for RSPE01_01 (0f50294 - b696ff0)

📉 main/revolution/VF/vf_unsplit | VFiPFFAT_WriteClusterPage 0 bytes -> 0.00%
📉 main/revolution/VF/vf_unsplit | VFiPFFAT_TraceClustersChain 0 bytes -> 0.00%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant