mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2025-02-06 09:28:42 +00:00
Add 32x resolution
This commit is contained in:
parent
78acd6068d
commit
3c853b340d
@ -4001,7 +4001,7 @@ void retro_set_environment(retro_environment_t cb)
|
||||
#ifdef HAVE_VULKAN
|
||||
{ option_adaptive_smoothing, "Adaptive smoothing; enabled|disabled" },
|
||||
#endif
|
||||
{ option_internal_resolution, "Internal GPU resolution; 1x(native)|2x|4x|8x|16x" },
|
||||
{ option_internal_resolution, "Internal GPU resolution; 1x(native)|2x|4x|8x|16x|32x" },
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES)
|
||||
// Only used in GL renderer for now.
|
||||
{ option_filter, "Texture filtering; nearest|SABR|xBR|bilinear|3-point|JINC2" },
|
||||
|
@ -275,6 +275,11 @@ GlRenderer::GlRenderer(DrawConfig* config)
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) {
|
||||
/* Same limitations as libretro.cpp */
|
||||
upscaling = var.value[0] -'0';
|
||||
if (var.value[1] != 'x')
|
||||
{
|
||||
upscaling = (var.value[0] - '0') * 10;
|
||||
upscaling += var.value[1] - '0';
|
||||
}
|
||||
}
|
||||
|
||||
var.key = option_filter;
|
||||
|
@ -150,6 +150,11 @@ void rsx_vulkan_refresh_variables(void)
|
||||
{
|
||||
/* Same limitations as libretro.cpp */
|
||||
scaling = var.value[0] - '0';
|
||||
if (var.value[1] != 'x')
|
||||
{
|
||||
scaling = (var.value[0] - '0') * 10;
|
||||
scaling += var.value[1] - '0';
|
||||
}
|
||||
}
|
||||
|
||||
var.key = option_adaptive_smoothing;
|
||||
|
Loading…
x
Reference in New Issue
Block a user