-
Notifications
You must be signed in to change notification settings - Fork 131
/
beetle_psx_globals.h
47 lines (38 loc) · 1023 Bytes
/
beetle_psx_globals.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
44
45
46
47
#ifndef BEETLE_PSX_GLOBALS_H__
#define BEETLE_PSX_GLOBALS_H__
#include <boolean.h>
#include <stdint.h>
/* Global state variables used by the Beetle PSX Core.
* These are typically set by core options and are used
* by methods in the Mednafen PSX module that have been
* modified for Beetle PSX.
*/
#ifdef __cplusplus
extern "C" {
#endif
extern bool content_is_pal;
extern uint8_t widescreen_hack;
extern uint8_t widescreen_hack_aspect_ratio_setting;
extern uint8_t psx_gpu_upscale_shift;
extern uint8_t psx_gpu_upscale_shift_hw;
extern int line_render_mode;
extern int filter_mode;
extern bool opaque_check;
extern bool semitrans_check;
extern int crop_overscan;
enum core_timing_fps_modes
{
FORCE_PROGRESSIVE_TIMING = 0,
FORCE_INTERLACED_TIMING,
AUTO_TOGGLE_TIMING
};
extern int core_timing_fps_mode;
extern bool currently_interlaced;
extern bool interlace_setting_dirty;
extern int aspect_ratio_setting;
extern bool aspect_ratio_dirty;
extern bool is_monkey_hero;
#ifdef __cplusplus
}
#endif
#endif