mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-12 05:40:36 +00:00
(iOS) Update shader settings
This commit is contained in:
parent
035e9d2624
commit
9add01d0f1
@ -205,7 +205,7 @@ static void event_reload_config(void* userdata)
|
|||||||
{
|
{
|
||||||
// Need to clear these otherwise stale versions may be used!
|
// Need to clear these otherwise stale versions may be used!
|
||||||
memset(g_settings.input.overlay, 0, sizeof(g_settings.input.overlay));
|
memset(g_settings.input.overlay, 0, sizeof(g_settings.input.overlay));
|
||||||
memset(g_settings.video.xml_shader_path, 0, sizeof(g_settings.video.xml_shader_path));
|
memset(g_settings.video.shader_path, 0, sizeof(g_settings.video.shader_path));
|
||||||
|
|
||||||
uninit_drivers();
|
uninit_drivers();
|
||||||
g_extern.block_config_read = false;
|
g_extern.block_config_read = false;
|
||||||
@ -353,7 +353,7 @@ static void event_reload_config(void* userdata)
|
|||||||
{
|
{
|
||||||
// Need to clear these otherwise stale versions may be used!
|
// Need to clear these otherwise stale versions may be used!
|
||||||
memset(g_settings.input.overlay, 0, sizeof(g_settings.input.overlay));
|
memset(g_settings.input.overlay, 0, sizeof(g_settings.input.overlay));
|
||||||
memset(g_settings.video.xml_shader_path, 0, sizeof(g_settings.video.xml_shader_path));
|
memset(g_settings.video.shader_path, 0, sizeof(g_settings.video.shader_path));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +157,11 @@ static RASettingData* custom_action(NSString* action)
|
|||||||
boolean_setting(config, @"video_crop_overscan", @"Crop Overscan", @"true"),
|
boolean_setting(config, @"video_crop_overscan", @"Crop Overscan", @"true"),
|
||||||
boolean_setting(config, @"video_scale_integer", @"Integer Scaling", @"false"),
|
boolean_setting(config, @"video_scale_integer", @"Integer Scaling", @"false"),
|
||||||
aspect_setting(config, @"Aspect Ratio"),
|
aspect_setting(config, @"Aspect Ratio"),
|
||||||
subpath_setting(config, @"video_xml_shader", @"Shader", @"", shader_path, @"shader"),
|
nil],
|
||||||
|
|
||||||
|
[NSArray arrayWithObjects:@"GPU Shader",
|
||||||
|
boolean_setting(config, @"video_shader_enable", @"Enable Shader", @"false"),
|
||||||
|
subpath_setting(config, @"video_shader", @"Shader", @"", shader_path, @"shader"),
|
||||||
nil],
|
nil],
|
||||||
|
|
||||||
[NSArray arrayWithObjects:@"Audio",
|
[NSArray arrayWithObjects:@"Audio",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user