mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-27 10:50:29 +00:00
04daeef580
Beetle PSX implementation of "psx.correct_aspect" introduced in Mednafen 1.24.0-UNSTABLE (no relevant code backported from upstream). Additionally fixes aspect ratio scaling issues when cropping overscan or adjusting visible scanlines. "Force 4:3" is left as a legacy option for users preferring the old inaccurate behavior.
20 lines
458 B
C
20 lines
458 B
C
#include <boolean.h>
|
|
#include <stdint.h>
|
|
#include "beetle_psx_globals.h"
|
|
|
|
bool content_is_pal = false;
|
|
uint8_t widescreen_hack;
|
|
uint8_t psx_gpu_upscale_shift;
|
|
int line_render_mode;
|
|
int filter_mode;
|
|
bool opaque_check;
|
|
bool semitrans_check;
|
|
bool crop_overscan = false;
|
|
|
|
int core_timing_fps_mode = FORCE_PROGRESSIVE_TIMING;
|
|
bool currently_interlaced = false;
|
|
bool interlace_setting_dirty = false;
|
|
|
|
int aspect_ratio_setting = 0;
|
|
bool aspect_ratio_dirty = false;
|