mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-27 05:05:51 +00:00
(OSX) RApplication - sendEvent - do early return in case driver.input_data
is NULL
This commit is contained in:
parent
4418853e54
commit
0f880332ad
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user