(OSX) RApplication - sendEvent - do early return in case driver.input_data

is NULL
This commit is contained in:
Twinaphex 2014-10-18 06:07:43 +02:00
parent 4418853e54
commit 0f880332ad

View File

@ -45,6 +45,9 @@ void apple_rarch_exited(void)
apple_input_data_t *apple = (apple_input_data_t*)driver.input_data;
NSEventType event_type = event.type;
if (!apple)
return;
switch ((NSInteger)event_type)
{