From: Adrien Plazas Date: Fri, 29 Jul 2016 22:56:59 +0000 (+0200) Subject: libretro: Check 'environ_cb' in controller setters X-Git-Tag: r24l~845^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dc2e39eebfc512aa0d8f1a2ce435aaa8a599ac1;hp=3dc2e39eebfc512aa0d8f1a2ce435aaa8a599ac1;p=pcsx_rearmed.git libretro: Check 'environ_cb' in controller setters Check that 'environ_cb' is valid before using it in update_multitap() and update_controller_port_device() as they may be called from retro_set_controller_port_device() before 'environ_cb' is set. ---