all repos — mgba @ 67880084187c309ca7049f7e8a22859006172f8d

mGBA Game Boy Advance Emulator

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	float fpsTarget;
15	size_t audioBuffers;
16
17	int fullscreen;
18	int width;
19	int height;
20};
21
22bool GBAConfigLoad(struct Configuration*);
23
24void GBAConfigMapGeneralOpts(const struct Configuration*, const char* port, struct GBAOptions*);
25void GBAConfigMapGraphicsOpts(const struct Configuration*, const char* port, struct GBAOptions*);
26void GBAConfigFreeOpts(struct GBAOptions*);
27
28#endif