forked from ramapcsx2/gbs-control
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathslot.h
More file actions
24 lines (23 loc) · 637 Bytes
/
slot.h
File metadata and controls
24 lines (23 loc) · 637 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _SLOT_H_
// SLOTS
#define SLOTS_FILE "/slots.bin" // the file where to store slots metadata
#define SLOTS_TOTAL 72 // max number of slots
#define EMPTY_SLOT_NAME "Empty "
typedef struct
{
char name[25];
uint8_t presetID;
uint8_t scanlines;
uint8_t scanlinesStrength;
uint8_t slot;
uint8_t wantVdsLineFilter;
uint8_t wantStepResponse;
uint8_t wantPeaking;
uint8_t viirCoef;
uint8_t wlevGain;
} SlotMeta;
typedef struct
{
SlotMeta slot[SLOTS_TOTAL]; // the max avaliable slots that can be encoded in a the charset[A-Za-z0-9-._~()!*:,;]
} SlotMetaArray;
#endif