src/gba/gba-config.h (view raw)
1#ifndef GBA_CONFIG_H
2#define GBA_CONFIG_H
3
4#include "util/common.h"
5
6struct Configuration;
7
8struct GBAOptions {
9 char* bios;
10 int logLevel;
11 int frameskip;
12 int rewindBufferCapacity;
13 int rewindBufferInterval;
14
15 int fullscreen;
16 int width;
17 int height;
18};
19
20bool GBAConfigLoad(struct Configuration*);
21
22void GBAConfigMapGeneralOpts(const struct Configuration*, const char* port, struct GBAOptions*);
23void GBAConfigMapGraphicsOpts(const struct Configuration*, const char* port, struct GBAOptions*);
24void GBAConfigFreeOpts(struct GBAOptions*);
25
26#endif