diff --git a/gfx/video_filters/2xbr.c b/gfx/video_filters/2xbr.c index c3294ae581..c88f3b09e4 100644 --- a/gfx/video_filters/2xbr.c +++ b/gfx/video_filters/2xbr.c @@ -683,7 +683,7 @@ static void twoxbr_work_cb_rgb565(void *data, void *thread_data) twoxbr_generic_rgb565(data, width, height, thr->first, thr->last, input, (unsigned)(thr->in_pitch / SOFTFILTER_BPP_RGB565), - (unsigned)(output), + output, (unsigned)(thr->out_pitch / SOFTFILTER_BPP_RGB565)); } diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 34338799e0..796fb62c48 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -2085,8 +2085,10 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb, return xmb->textures.list[XMB_TEXTURE_CORE_INFO]; case MENU_WIFI: return xmb->textures.list[XMB_TEXTURE_WIFI]; +#ifdef HAVE_NETWORKING case MENU_ROOM: return xmb->textures.list[XMB_TEXTURE_ROOM]; +#endif } return xmb->textures.list[XMB_TEXTURE_SUBSETTING];