diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-11-23 21:01:02 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2024-11-23 21:44:04 -0500 |
commit | 1bf19eaaffeac20404f1247c0eeb0a4f20efd297 (patch) | |
tree | e841e5632a2dc6fdeb91db209210a8898add4ca2 | |
parent | 21ebfd574a90165d8449a1911a6be16215aa1215 (diff) | |
download | rockbox-1bf19eaaff.tar.gz rockbox-1bf19eaaff.zip |
tag_table use unsigned short rather than enum
we have 190 tags
mips padded with extra 2 bytes * 2
saves ~768 bytes
Change-Id: I1d9bd8bf435bc1e3bc4564356c290c883c4724de
-rw-r--r-- | lib/skin_parser/tag_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/skin_parser/tag_table.h b/lib/skin_parser/tag_table.h index 3f8c4d7688..a31691efa8 100644 --- a/lib/skin_parser/tag_table.h +++ b/lib/skin_parser/tag_table.h @@ -348,7 +348,7 @@ enum skin_token_type { */ struct tag_info { - enum skin_token_type type; + unsigned short type; unsigned short param_pos; const char* name; int flags; |