mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Revert "[BugFix] Enums are only 2 bytes on some Devices"
This reverts commit 4ec34f6986
.
Reason for revert:
-fshort-enums makes them smaller if the explicitrly enumerated values will fit in a smaller type
Change-Id: I834dfd2b2039eda91bc02c9cf95a0f9dfc5783f6
This commit is contained in:
parent
4ec34f6986
commit
1fddea5e8e
18 changed files with 165 additions and 168 deletions
|
@ -278,7 +278,7 @@ struct cache_entry_t
|
|||
uint8_t block_header; /* final wave block header */
|
||||
};
|
||||
|
||||
#define BRR_CACHE_SIZE (0x20000 + 32)
|
||||
enum { BRR_CACHE_SIZE = 0x20000 + 32};
|
||||
|
||||
struct voice_wave_t
|
||||
{
|
||||
|
@ -424,7 +424,7 @@ struct Spc_Emu
|
|||
uint8_t boot_rom [ROM_SIZE];
|
||||
};
|
||||
|
||||
#define SPC_FILE_SIZE (0x10180)
|
||||
enum { SPC_FILE_SIZE = 0x10180 };
|
||||
|
||||
struct spc_file_t
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue