mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
fix potential wiiu crash
This commit is contained in:
parent
5888718c04
commit
7913b88853
@ -445,7 +445,8 @@ static void *wiiu_gfx_init(const video_info_t *video,
|
|||||||
video->is_threaded,
|
video->is_threaded,
|
||||||
FONT_DRIVER_RENDER_WIIU);
|
FONT_DRIVER_RENDER_WIIU);
|
||||||
|
|
||||||
if(settings->bools.video_shader_enable)
|
if(settings->bools.video_shader_enable &&
|
||||||
|
!string_is_empty(retroarch_get_shader_preset()))
|
||||||
{
|
{
|
||||||
const char* ext = path_get_extension(retroarch_get_shader_preset());
|
const char* ext = path_get_extension(retroarch_get_shader_preset());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user