Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Citra2018
Commits
4b5fd328
Unverified
Commit
4b5fd328
authored
Mar 16, 2021
by
Libretro-Admin
Committed by
GitHub
Mar 16, 2021
Browse files
Update citra_libretro.cpp
parent
396065d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/citra_libretro/citra_libretro.cpp
View file @
4b5fd328
...
...
@@ -31,6 +31,8 @@
#include "video_core/renderer_opengl/renderer_opengl.h"
#include "video_core/video_core.h"
#define CORENAME "citra2018"
class
CitraLibRetro
{
public:
CitraLibRetro
()
:
log_filter
(
Log
::
Level
::
Info
)
{}
...
...
@@ -87,28 +89,28 @@ unsigned retro_api_version() {
void
LibRetro
::
OnConfigureEnvironment
()
{
static
const
retro_variable
values
[]
=
{
{
"citra
_use_cpu_jit"
,
"Enable CPU JIT; enabled|disabled"
},
{
"citra
_use_hw_renderer"
,
"Enable hardware renderer; enabled|disabled"
},
{
"citra
_use_shader_jit"
,
"Enable shader JIT; enabled|disabled"
},
{
"citra
_use_hw_shaders"
,
"Enable hardware shaders; enabled|disabled"
},
{
"citra
_use_acc_geo_shaders"
,
"Enable accurate geometry shaders (only for H/W shaders); enabled|disabled"
},
{
"citra
_use_acc_mul"
,
"Enable accurate shaders multiplication (only for H/W shaders); enabled|disabled"
},
{
"citra
_resolution_factor"
,
{
CORENAME
"
_use_cpu_jit"
,
"Enable CPU JIT; enabled|disabled"
},
{
CORENAME
"
_use_hw_renderer"
,
"Enable hardware renderer; enabled|disabled"
},
{
CORENAME
"
_use_shader_jit"
,
"Enable shader JIT; enabled|disabled"
},
{
CORENAME
"
_use_hw_shaders"
,
"Enable hardware shaders; enabled|disabled"
},
{
CORENAME
"
_use_acc_geo_shaders"
,
"Enable accurate geometry shaders (only for H/W shaders); enabled|disabled"
},
{
CORENAME
"
_use_acc_mul"
,
"Enable accurate shaders multiplication (only for H/W shaders); enabled|disabled"
},
{
CORENAME
"
_resolution_factor"
,
"Resolution scale factor; 1x (Native)|2x|3x|4x|5x|6x|7x|8x|9x|10x"
},
{
"citra
_layout_option"
,
"Screen layout positioning; Default Top-Bottom Screen|Single "
{
CORENAME
"
_layout_option"
,
"Screen layout positioning; Default Top-Bottom Screen|Single "
"Screen Only|Large Screen, Small Screen|Side by Side"
},
{
"citra
_swap_screen"
,
"Prominent 3DS screen; Top|Bottom"
},
{
"citra
_analog_function"
,
{
CORENAME
"
_swap_screen"
,
"Prominent 3DS screen; Top|Bottom"
},
{
CORENAME
"
_analog_function"
,
"Right analog function; C-Stick and Touchscreen Pointer|Touchscreen Pointer|C-Stick"
},
{
"citra
_deadzone"
,
"Emulated pointer deadzone (%); 15|20|25|30|35|0|5|10"
},
{
"citra
_mouse_touchscreen"
,
"Enable mouse input for touchscreen; enabled|disabled"
},
{
"citra
_mouse_show_pointer"
,
"Show mouse pointer for touchscreen; enabled|disabled"
},
{
"citra
_use_virtual_sd"
,
"Enable virtual SD card; enabled|disabled"
},
{
"citra
_use_libretro_save_path"
,
"Savegame location; LibRetro Default|Citra Default"
},
{
"citra
_is_new_3ds"
,
"3DS system model; Old 3DS|New 3DS"
},
{
"citra
_region_value"
,
{
CORENAME
"
_deadzone"
,
"Emulated pointer deadzone (%); 15|20|25|30|35|0|5|10"
},
{
CORENAME
"
_mouse_touchscreen"
,
"Enable mouse input for touchscreen; enabled|disabled"
},
{
CORENAME
"
_mouse_show_pointer"
,
"Show mouse pointer for touchscreen; enabled|disabled"
},
{
CORENAME
"
_use_virtual_sd"
,
"Enable virtual SD card; enabled|disabled"
},
{
CORENAME
"
_use_libretro_save_path"
,
"Savegame location; LibRetro Default|Citra Default"
},
{
CORENAME
"
_is_new_3ds"
,
"3DS system model; Old 3DS|New 3DS"
},
{
CORENAME
"
_region_value"
,
"3DS system region; Auto|Japan|USA|Europe|Australia|China|Korea|Taiwan"
},
{
"citra
_use_gdbstub"
,
"Enable GDB stub; disabled|enabled"
},
{
CORENAME
"
_use_gdbstub"
,
"Enable GDB stub; disabled|enabled"
},
{
nullptr
,
nullptr
}};
LibRetro
::
SetVariables
(
values
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment