Add CHD support for ao486 CD-ROM
This commit is contained in:
9
menu.cpp
9
menu.cpp
@@ -1973,15 +1973,14 @@ void HandleUI(void)
|
||||
memcpy(Selected_tmp, Selected_S[(int)ioctl_index], sizeof(Selected_tmp));
|
||||
if (is_x86()) strcpy(Selected_tmp, x86_get_image_path(ioctl_index));
|
||||
|
||||
if (is_pce() || is_megacd())
|
||||
if (is_pce() || is_megacd() || is_x86())
|
||||
{
|
||||
if (!strncasecmp(fs_pFileExt, "CUE", 3))
|
||||
{
|
||||
//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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user