mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-31 23:34:36 +00:00
(iOS) Fix 'release is unavailable; not available in automatic reference
counting mode'
This commit is contained in:
parent
66f1c42fcc
commit
4b419ce125
@ -161,7 +161,10 @@ static float get_from_selector(Class obj_class, id obj_id, SEL selector, CGFloat
|
||||
[invocation setTarget:obj_id];
|
||||
[invocation invoke];
|
||||
[invocation getReturnValue:ret];
|
||||
#if __has_feature(objc_arc)
|
||||
#else
|
||||
[invocation release];
|
||||
#endif
|
||||
return *ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user