We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0d72af commit 06b028cCopy full SHA for 06b028c
src/main.c
@@ -2423,10 +2423,20 @@ int i, d;
2423
//Increase the FILEIO R/W buffer size to reduce overhead.
2424
fileXioSetRWBufferSize(128 * 1024);
2425
DPRINTF("Initializing mc rpc\n");
2426
+#ifdef SUPPORT_SYSTEM_2X6
2427
+ if (exist("rom0:DAEMON")) {
2428
+ DPRINTF("found 'rom0:DAEMON', initializing XMC RPC server instead of MC\n");
2429
+ mcInit(MC_TYPE_XMC);
2430
+ } else {
2431
+ DPRINTF("'rom0:DAEMON' not found. initializing MC RPC\n");
2432
+ mcInit(MC_TYPE_MC);
2433
+ }
2434
+#else
2435
#ifdef HOMEBREW_SIO2MAN
2436
mcInit(MC_TYPE_XMC);
2437
#else
2438
mcInit(MC_TYPE_MC);
2439
+#endif
2440
#endif
2441
DPRINTF("RESET FINISHED\n");
2442
// setupPad();
0 commit comments