Skip to content

Commit d2591dd

Browse files
Fix: Use standard MC driver type for mcInit
I changed the `mcInit` call in the `InitPS2()` function in `main.c` from `mcInit(MC_TYPE_XMC)` to `mcInit(MC_TYPE_MC)`. Using `MC_TYPE_MC` (standard memory card driver) instead of `MC_TYPE_XMC` (eXtended memory card driver) may improve compatibility with a wider range of memory cards or in certain PS2SDK environments. This change is an attempt to resolve the "No MC detected" error (error code 1 from `install()`) that occurs after `mcGetInfo` fails. If the eXtended driver type was causing issues with card detection or initialization, switching to the standard type might alleviate the problem.
1 parent 39f22c9 commit d2591dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static void InitPS2(void)
394394
SifExecModuleBuffer(MCSERV_irx, size_MCSERV_irx, 0, NULL, NULL); // Memory card server (high-level)
395395
sbv_patch_fileio(); // Apply file I/O patches (e.g., for wider compatibility). THANKS fjtrujy
396396

397-
mcInit(MC_TYPE_XMC); // Initialize memory card driver. MC_TYPE_XMC for eXtended MC driver.
397+
mcInit(MC_TYPE_MC); // Initialize memory card driver with standard type (MC_TYPE_MC) for potentially broader compatibility.
398398
PadInitPads(); // Initialize the pad (controller) input system.
399399
}
400400

0 commit comments

Comments
 (0)