288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
|
# else
for (;;) {
# endif
void *pool = objc_autoreleasePoolPush();
OHGameController *controller =
[[OHGameController controllers] objectAtIndex: 0];
OHGameControllerButton *button =
[controller.rawProfile.buttons objectForKey: @"A"];
[controller retrieveState];
if (button.pressed)
break;
# ifdef OF_NINTENDO_SWITCH
|
|
|
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
|
# else
for (;;) {
# endif
void *pool = objc_autoreleasePoolPush();
OHGameController *controller =
[[OHGameController controllers] objectAtIndex: 0];
OHGameControllerButton *button =
[controller.profile.buttons objectForKey: @"A"];
[controller retrieveState];
if (button.pressed)
break;
# ifdef OF_NINTENDO_SWITCH
|
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
|
for (;;) {
void *pool = objc_autoreleasePoolPush();
OHGameController *controller =
[[OHGameController controllers] objectAtIndex: 0];
OHGameControllerButton *button =
# ifdef OF_WII
[controller.rawProfile.buttons objectForKey: @"Home"];
# else
[controller.rawProfile.buttons objectForKey: @"Start"];
# endif
[controller retrieveState];
if (button.pressed)
break;
|
|
|
|
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
|
for (;;) {
void *pool = objc_autoreleasePoolPush();
OHGameController *controller =
[[OHGameController controllers] objectAtIndex: 0];
OHGameControllerButton *button =
# ifdef OF_WII
[controller.profile.buttons objectForKey: @"Home"];
# else
[controller.profile.buttons objectForKey: @"Start"];
# endif
[controller retrieveState];
if (button.pressed)
break;
|