mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Some stability fixes
This commit is contained in:
parent
7e56ecba4b
commit
27f34bf420
@ -489,6 +489,8 @@ static void png_reverse_filter_adam7_deinterlace_pass(uint32_t *data,
|
|||||||
|
|
||||||
static void png_reverse_filter_deinit(struct rpng_process *pngp)
|
static void png_reverse_filter_deinit(struct rpng_process *pngp)
|
||||||
{
|
{
|
||||||
|
if (!pngp)
|
||||||
|
return;
|
||||||
if (pngp->decoded_scanline)
|
if (pngp->decoded_scanline)
|
||||||
free(pngp->decoded_scanline);
|
free(pngp->decoded_scanline);
|
||||||
pngp->decoded_scanline = NULL;
|
pngp->decoded_scanline = NULL;
|
||||||
|
@ -874,7 +874,7 @@ static void xmb_render_messagebox_internal(
|
|||||||
unsigned width = video_info->width;
|
unsigned width = video_info->width;
|
||||||
unsigned height = video_info->height;
|
unsigned height = video_info->height;
|
||||||
struct string_list *list = string_split(message, "\n");
|
struct string_list *list = string_split(message, "\n");
|
||||||
if (!list)
|
if (!list || !xmb)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (list->elems == 0)
|
if (list->elems == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user