mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 17:10:12 +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!
|
||||
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();
|
||||
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!
|
||||
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_scale_integer", @"Integer Scaling", @"false"),
|
||||
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],
|
||||
|
||||
[NSArray arrayWithObjects:@"Audio",
|
||||
|
Loading…
Reference in New Issue
Block a user