beetle-psx-libretro/libretro_options.h
BinBashBanana 3f525d7d67 GLES 3.0 Support on HW Renderer
updated makefiles for:
- android
- ios
- emscripten
- rpi4

tested on emscripten, GLES3 must be explicitly enabled for android and ios

fixed some things in glsm (libretro-common)

colors are not 100% perfect on GLES3 due to it not including the 1555 ABGR color format. GLES3 uses 5551 instead.
2022-07-06 18:17:16 -07:00

34 lines
911 B
C

#ifndef LIBRETRO_OPTIONS_H__
#define LIBRETRO_OPTIONS_H__
#ifdef HAVE_OPENGLES3
#define MEDNAFEN_CORE_RENDERER "-GLES3"
#else
#define MEDNAFEN_CORE_RENDERER ""
#endif
#define MEDNAFEN_CORE_SETVERSION "0.9.44.1"
#define MEDNAFEN_CORE_NAME_MODULE "psx"
#ifdef HAVE_HW
#define MEDNAFEN_CORE_NAME "Beetle PSX HW"
#define MEDNAFEN_CORE_VERSION MEDNAFEN_CORE_SETVERSION MEDNAFEN_CORE_RENDERER
#else
#define MEDNAFEN_CORE_NAME "Beetle PSX"
#define MEDNAFEN_CORE_VERSION MEDNAFEN_CORE_SETVERSION
#endif
#define MEDNAFEN_CORE_EXTENSIONS "exe|cue|toc|ccd|m3u|pbp|chd"
#define MEDNAFEN_CORE_GEOMETRY_BASE_W 320
#define MEDNAFEN_CORE_GEOMETRY_BASE_H 240
#define MEDNAFEN_CORE_GEOMETRY_MAX_W 700
#define MEDNAFEN_CORE_GEOMETRY_MAX_H 576
#define MEDNAFEN_CORE_GEOMETRY_ASPECT_RATIO (4.0 / 3.0)
#ifdef HAVE_HW
#define BEETLE_OPT(_o) ("beetle_psx_hw_" # _o)
#else
#define BEETLE_OPT(_o) ("beetle_psx_" # _o)
#endif
#endif