mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
fix(ozone): Fix crash on shutdown; check for NULL
This commit is contained in:
parent
68760b36f2
commit
0485d741a2
@ -3152,6 +3152,9 @@ static void ozone_toggle(void *userdata, bool menu_on)
|
||||
{
|
||||
bool tmp = false;
|
||||
ozone_handle_t *ozone = (ozone_handle_t*) userdata;
|
||||
if (!ozone)
|
||||
return;
|
||||
|
||||
if (!menu_on)
|
||||
{
|
||||
menu_display_ctx_clearcolor_t clearcolor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user