mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-19 09:02:26 +00:00
(Apple) Take out ownership of apple_input driver
This commit is contained in:
parent
f47b3570bc
commit
dbbfa700cb
@ -374,9 +374,6 @@ static void *apple_input_init(void)
|
||||
{
|
||||
apple_input_data_t *apple = NULL;
|
||||
|
||||
if (driver.input_data)
|
||||
return driver.input_data;
|
||||
|
||||
apple = (apple_input_data_t*)calloc(1, sizeof(*apple));
|
||||
if (!apple)
|
||||
return NULL;
|
||||
@ -385,8 +382,6 @@ static void *apple_input_init(void)
|
||||
|
||||
apple->joypad = input_joypad_init_driver(g_settings.input.joypad_driver);
|
||||
|
||||
driver.input_data_own = true;
|
||||
|
||||
return apple;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user