Skip to content

Commit 82094f7

Browse files
libretroadminLibretroAdmin
authored andcommitted
menu_displaylist: convert the settings-entry runs to row tables
Sixteen runs of the parse-settings macro - seventy-five call sites - become static row tables consumed by one loop, each a readable list of label, parse type and empty-entry flag, with platform guards carried inside the tables and runs trimmed where a guard would have split. One hundred four source lines gone; the displaylist dump is byte-identical across all 212 types. Measured honestly: the text saving is 460 bytes on this configuration - the compiler was already tail-merging these repetitive sites - so in this file the campaign's yield is surface and readability, not binary size, and the numbers are reported as such.
1 parent 2a69f27 commit 82094f7

1 file changed

Lines changed: 196 additions & 300 deletions

File tree

0 commit comments

Comments
 (0)