mirror of
https://github.com/ogoguel/activegs-ios.git
synced 2024-12-27 02:29:21 +00:00
fix compilation
This commit is contained in:
parent
d9e49fba30
commit
239bfc407a
@ -569,10 +569,10 @@ extern int findCode(const char* _s);
|
||||
[self setMenuBarVisibility:TRUE]; // So First time users are not lost!
|
||||
|
||||
self.mfiControllerHandler = [[MfiGameControllerHandler alloc] init];
|
||||
__weak typeof(self) weakSelf = self;
|
||||
|
||||
[self.mfiControllerHandler discoverController:^(GCController *gameController) {
|
||||
[weakSelf setupMfiController:gameController];
|
||||
[self setInputMode:inputMode&INPUTMODE_PAD];
|
||||
[self setupMfiController:gameController];
|
||||
[self setInputMode:self->inputMode&INPUTMODE_PAD];
|
||||
[pManager setNotificationText:@"mFi Controller Connected"];
|
||||
} disconnectedCallback:^{
|
||||
[pManager setNotificationText:@"mFi Controller Disconnected"];
|
||||
|
@ -345,7 +345,7 @@
|
||||
// vérifie que l'émulateur fonctionne
|
||||
if (!pMac)
|
||||
{
|
||||
UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"ActiveGS" message:@"Select a program in the list first." delegate:nil cancelButtonTitle:@"Done" otherButtonTitles:nil] autorelease];
|
||||
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"ActiveGS" message:@"Select a program in the list first." delegate:nil cancelButtonTitle:@"Done" otherButtonTitles:nil];
|
||||
[alert show];
|
||||
return ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user