330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
|
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
|
-
+
+
|
[OFStdOut writeLine: @"Press A to continue"];
for (;;) {
void *pool = objc_autoreleasePoolPush();
OFGameController *controller =
[[OFGameController controllers] objectAtIndex: 0];
if ([controller.pressedButtons containsObject: @"A"])
if ([controller.pressedButtons containsObject:
OFGameControllerEastButton])
break;
# if defined(OF_NINTENDO_DS)
swiWaitForVBlank();
# elif defined(OF_NINTENDO_3DS)
gspWaitForVBlank();
# endif
|