Initial support for CHD cdrom images.

As of now, this is CHD v5 only
This commit is contained in:
Zakk
2020-12-23 18:31:21 -05:00
parent 9764e6dc5a
commit f412273f84
178 changed files with 63993 additions and 38 deletions

View File

@@ -1975,6 +1975,13 @@ void HandleUI(void)
if (is_pce() || is_megacd())
{
if (!strncasecmp(fs_pFileExt, "CUE", 3))
{
//look for CHD too
printf("LOOK FOR CHD\n");
strcat(fs_pFileExt, "CHD");
strcat(ext, "CHD");
}
int num = ScanDirectory(Selected_tmp, SCANF_INIT, fs_pFileExt, 0);
memcpy(Selected_tmp, Selected_S[(int)ioctl_index], sizeof(Selected_tmp));