Closed rawr51919 closed 2 years ago
Which warning does this PR exactly solve? This, as far as I can tell, is just a minor stylistic change that should not make any difference in the compiler's internal syntax tree.
Which warning does this PR exactly solve? This, as far as I can tell, is just a minor stylistic change that should not make any difference in the compiler's internal syntax tree.
In that decomp, it fixes a warning that is shown as superfluous ',' in enum declaration
near the end of the build. Every other enum in this file has no comma at the last entry in them (see enums LCDC_BITS
and LCDC_IRQ
)
It could be argued that an alternate title for this PR is 'keep enums in gba_video.h to the same coding style', some projects like the decomp above would appreciate this
Certain projects, like the decompilation of the ancient homebrew Pikachu ga Pokeboru o Aishimasu (ピカチュウがポケボルをアイします, Pikachu Loves Poké Balls) (https://github.com/easyaspi314/pikaaishimasu), cause warnings to be emitted when this comma is in place. Removing it fixes this warning.