cue support wip

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@432 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-04-27 19:16:32 +00:00
parent 583ab72c0b
commit b923ecbe75
10 changed files with 285 additions and 24 deletions

View file

@ -1618,10 +1618,11 @@ int menu_loop_tray(void)
case 0: // select image
selfname = romsel_loop(curr_path);
if (selfname) {
int ret = -1, cd_type;
int ret = -1;
cd_img_type cd_type;
cd_type = emu_cdCheck(NULL);
if (cd_type > 0)
ret = Insert_CD(romFileName, cd_type == 2);
if (cd_type != CIT_NOT_CD)
ret = Insert_CD(romFileName, cd_type);
if (ret != 0) {
sprintf(menuErrorMsg, "Load failed, invalid CD image?");
lprintf("%s\n", menuErrorMsg);