-
Notifications
You must be signed in to change notification settings - Fork 38
/
opera_lr_opts.h
43 lines (38 loc) · 1003 Bytes
/
opera_lr_opts.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef OPERA_LR_OPTS_H_INCLUDED
#define OPERA_LR_OPTS_H_INCLUDED
#include "libopera/opera_bios.h"
#include "libopera/opera_mem.h"
#include "libopera/opera_vdlp.h"
#include "libopera/opera_region.h"
typedef struct opera_lr_opts_t opera_lr_opts_t;
struct opera_lr_opts_t
{
bool initialized_libretro;
bool initialized_opera;
opera_bios_t const *bios;
opera_bios_t const *font;
bool nvram_shared;
uint8_t nvram_version;
opera_region_e region;
float cpu_overclock;
vdlp_pixel_format_e vdlp_pixel_format;
bool vdlp_bypass_clut;
uint32_t *video_buffer;
bool high_resolution;
unsigned video_width;
unsigned video_height;
unsigned video_pitch_shift;
unsigned active_devices;
opera_mem_cfg_t mem_cfg;
bool hide_lightgun_crosshairs;
char const *madam_matrix_engine;
bool kprint;
bool dsp_threaded;
bool swi_hle;
uint32_t hack_flags;
};
extern opera_lr_opts_t g_OPTS;
void opera_lr_opts_process();
void opera_lr_opts_reset();
void opera_lr_opts_destroy();
#endif