mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 11:32:41 -05:00
[BugFix] Enums are only 2 bytes on some Devices
using enums to hold values larger than 0xFFFF could be problematic WIP Change-Id: I3a9be957265364b545f022fe26163f0869569e3e
This commit is contained in:
parent
9e2c85e076
commit
4ec34f6986
18 changed files with 168 additions and 165 deletions
|
|
@ -104,7 +104,7 @@ char cRSID_playSIDfile(cRSID_C64instance* C64, char* filename, char subtune) {
|
|||
|
||||
|
||||
cRSID_SIDheader* cRSID_loadSIDtune(cRSID_C64instance* C64, char* filename) {
|
||||
enum SIDspecs { CRSID_FILESIZE_MAX = 100000 };
|
||||
#define CRSID_FILESIZE_MAX (100000)
|
||||
int FileSize;
|
||||
static unsigned char SIDfileData [CRSID_FILESIZE_MAX]; //use memset?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue