fix compilation

This commit is contained in:
o@goguel.com 2024-04-07 10:38:56 +02:00
parent d9e49fba30
commit 239bfc407a
2 changed files with 4 additions and 4 deletions

View File

@ -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"];

View File

@ -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 ;
}