mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-27 02:40:31 +00:00
b0d55624a5
* Shared memcards and memcard0 method core options are now only checked in retro_load_game and require a restart * In retro_load_game, rsx_intf_open is called first before check_variables and alloc_surface * check_variables no longer receives any params * Ensure none of the renderers call SET_SYSTEM_AV_INFO before we're in retro_run * Ensure the first iteration of retro_run checks core options even if they weren't updated yet * Store the upscale shift when calling GPU_Init() and prevent calling delete on a null pointer in GPU_Rescale()
31 lines
719 B
C
31 lines
719 B
C
#ifndef __LIBRETRO_CBS_H
|
|
#define __LIBRETRO_CBS_H
|
|
|
|
#include <boolean.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern bool content_is_pal;
|
|
extern retro_video_refresh_t video_cb;
|
|
extern retro_environment_t environ_cb;
|
|
extern uint8_t widescreen_hack;
|
|
extern uint8_t psx_gpu_upscale_shift;
|
|
extern int lineRenderMode;
|
|
extern int filter_mode;
|
|
extern bool opaque_check;
|
|
extern bool semitrans_check;
|
|
/* Warns the libretro implementation that it needs to update its static MDFN_Surface object */
|
|
extern bool need_new_surface;
|
|
|
|
/* Whether or not the libretro core is starting up i.e. not in retro_run()
|
|
* Prevents HW renderers from calling SET_SYSTEM_AV_INFO */
|
|
extern bool is_startup;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|