335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
|
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
|
-
+
+
+
-
+
+
|
break;
}
#elif defined(OF_NINTENDO_3DS)
[OFStdOut setForegroundColor: [OFColor silver]];
[OFStdOut writeLine: @"Press A to continue"];
for (;;) {
hidScanInput();
void *pool = objc_autoreleasePoolPush();
OFGameController *controller =
[OFGameController controllerWithIndex: 0];
if (hidKeysDown() & KEY_A)
if ([controller.pressedButtons containsObject: @"A"])
break;
gspWaitForVBlank();
objc_autoreleasePoolPop(pool);
}
#elif defined(OF_NINTENDO_SWITCH)
[OFStdOut setForegroundColor: [OFColor silver]];
[OFStdOut writeLine: @"Press A to continue"];
while (appletMainLoop()) {
PadState pad;
|