Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps authored Feb 11, 2024
1 parent c0d72af commit 06b028c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2423,10 +2423,20 @@ int i, d;
//Increase the FILEIO R/W buffer size to reduce overhead.
fileXioSetRWBufferSize(128 * 1024);
DPRINTF("Initializing mc rpc\n");
#ifdef SUPPORT_SYSTEM_2X6
if (exist("rom0:DAEMON")) {
DPRINTF("found 'rom0:DAEMON', initializing XMC RPC server instead of MC\n");
mcInit(MC_TYPE_XMC);
} else {
DPRINTF("'rom0:DAEMON' not found. initializing MC RPC\n");
mcInit(MC_TYPE_MC);
}
#else
#ifdef HOMEBREW_SIO2MAN
mcInit(MC_TYPE_XMC);
#else
mcInit(MC_TYPE_MC);
#endif
#endif
DPRINTF("RESET FINISHED\n");
// setupPad();
Expand Down

0 comments on commit 06b028c

Please sign in to comment.