Skip to content

Commit

Permalink
Revert "try to fix cdfs access"
Browse files Browse the repository at this point in the history
This reverts commit b4f7bea.
  • Loading branch information
israpps committed Feb 21, 2024
1 parent b4f7bea commit 322cc40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1284,10 +1284,12 @@ static void getExternalFilePath(const char *argPath, char *filePath)
mountDVRPParty(party);

#endif
#ifndef SUPPORT_SYSTEM_2X6
} else if (!strncmp(argPath, "cdfs", 4)) {
strcpy(filePath, argPath);
CDVD_FlushCache();
CDVD_DiskReady(0);
#endif
} else {
genFixPath(argPath, filePath);
}
Expand Down Expand Up @@ -2356,11 +2358,13 @@ static void Execute(char *pathin)
}
Show_build_info();
return;
#ifndef SUPPORT_SYSTEM_2X6
} else if (!strncmp(path, "cdfs", 4)) {
CDVD_FlushCache();
CDVD_DiskReady(0);
party[0] = 0;
goto CheckELF_path;
#endif
} else if (!strncmp(path, "rom", 3)) {
party[0] = 0;
CheckELF_path:
Expand Down Expand Up @@ -2422,7 +2426,9 @@ int i, d;
DPRINTF(" [UDPTTY]: id=%d, ret=%d\n", i, d);
#endif
loadBasicModules();
#ifndef SUPPORT_SYSTEM_2X6
loadCdModules();
#endif
DPRINTF("Initializing fileXio RPC\n");
fileXioInit();
//Increase the FILEIO R/W buffer size to reduce overhead.
Expand Down

0 comments on commit 322cc40

Please sign in to comment.