mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(GX) VIDEO_SetTrapFilter not run every frame now
This commit is contained in:
parent
d7fd90883b
commit
4eb04a682c
@ -410,6 +410,7 @@ static void rgui_settings_toggle_setting(rgui_file_type_t setting, rgui_action_t
|
|||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
case RGUI_SETTINGS_VIDEO_SOFT_FILTER:
|
case RGUI_SETTINGS_VIDEO_SOFT_FILTER:
|
||||||
g_console.soft_display_filter_enable = !g_console.soft_display_filter_enable;
|
g_console.soft_display_filter_enable = !g_console.soft_display_filter_enable;
|
||||||
|
gx->should_resize = true;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case RGUI_SETTINGS_VIDEO_GAMMA:
|
case RGUI_SETTINGS_VIDEO_GAMMA:
|
||||||
|
@ -429,14 +429,13 @@ static bool wii_frame(void *data, const void *frame,
|
|||||||
if(!frame && !menu_render)
|
if(!frame && !menu_render)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
#ifdef HW_RVL
|
|
||||||
VIDEO_SetTrapFilter(g_console.soft_display_filter_enable);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
gx->frame_count++;
|
gx->frame_count++;
|
||||||
|
|
||||||
if(should_resize)
|
if(should_resize)
|
||||||
{
|
{
|
||||||
|
#ifdef HW_RVL
|
||||||
|
VIDEO_SetTrapFilter(g_console.soft_display_filter_enable);
|
||||||
|
#endif
|
||||||
GX_SetDispCopyGamma(g_console.gamma_correction);
|
GX_SetDispCopyGamma(g_console.gamma_correction);
|
||||||
gx->should_resize = false;
|
gx->should_resize = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user