Fix some Xcode 11 warnings

This commit is contained in:
Cameron Gutman committed 2019-09-11 19:12:11 -07:00
1 parent 597aaa1bab
commit f51dbe4295
4 files changed
+9 -4

No files matched your search

+5
View File
@@ -194,6 +194,9 @@
[_controllerStreamLock unlock];
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
-(void) unregisterControllerCallbacks:(GCController*) controller
{
if (controller != NULL) {
@@ -428,6 +431,8 @@
return controller.extendedGamepad != nil || controller.gamepad != nil;
}
#pragma clang diagnostic pop
+(int) getGamepadCount {
int count = 0;
@@ -44,7 +44,7 @@
UIAlertController* _pairAlert;
LoadingFrameViewController* _loadingFrame;
UIScrollView* hostScrollView;
int currentPosition;
FrontViewPosition currentPosition;
NSArray* _sortedAppList;
NSCache* _boxArtCache;
bool _background;