2019-12-08 17:26:41 +00:00
|
|
|
#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;
|
2020-12-12 10:18:40 +00:00
|
|
|
extern uint8_t widescreen_hack_aspect_ratio_setting;
|
2019-12-08 17:26:41 +00:00
|
|
|
extern uint8_t psx_gpu_upscale_shift;
|
2020-09-27 08:01:20 +00:00
|
|
|
extern uint8_t psx_gpu_upscale_shift_hw;
|
2019-12-08 17:26:41 +00:00
|
|
|
extern int line_render_mode;
|
|
|
|
extern int filter_mode;
|
|
|
|
extern bool opaque_check;
|
|
|
|
extern bool semitrans_check;
|
2021-11-01 16:25:49 +00:00
|
|
|
extern int crop_overscan;
|
2019-12-08 17:26:41 +00:00
|
|
|
|
2020-03-01 07:53:26 +00:00
|
|
|
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;
|
|
|
|
|
2020-02-27 03:05:15 +00:00
|
|
|
extern int aspect_ratio_setting;
|
|
|
|
extern bool aspect_ratio_dirty;
|
2021-10-10 23:51:03 +00:00
|
|
|
extern bool is_monkey_hero;
|
2020-02-27 03:05:15 +00:00
|
|
|
|
2019-12-08 17:26:41 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|