Commit | Line | Data |
---|---|---|
cf76e892 JPM |
1 | // |
2 | // filedb.h: File database definition | |
3 | // | |
4 | ||
5 | #ifndef __FILEDB_H__ | |
6 | #define __FILEDB_H__ | |
7 | ||
8 | #include <stdint.h> | |
9 | ||
10 | // Useful enumerations | |
11 | ||
12 | enum FileFlags { FF_ROM=0x01, FF_ALPINE=0x02, FF_BIOS=0x04, FF_REQ_DSP=0x08, FF_REQ_BIOS=0x10, FF_NON_WORKING=0x20, FF_BAD_DUMP=0x40, FF_VERIFIED=0x80, FF_STARS_1=0x00, FF_STARS_2=0x100, FF_STARS_3=0x200, FF_STARS_4=0x300, FF_STARS_5=0x400 }; | |
13 | ||
14 | // Useful structs | |
15 | ||
16 | struct RomIdentifier | |
17 | { | |
18 | const uint32_t crc32; | |
19 | const char name[128]; | |
20 | // const uint8_t compatibility; | |
21 | const uint32_t flags; | |
22 | }; | |
23 | ||
24 | // So other stuff can pull this in... | |
25 | ||
26 | extern RomIdentifier romList[]; | |
27 | ||
28 | #endif // __FILEDB_H__ |