mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 23:58:04 -04:00
cue support wip
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@432 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
583ab72c0b
commit
b923ecbe75
10 changed files with 285 additions and 24 deletions
|
@ -196,16 +196,16 @@ PICO_INTERNAL void Reset_CD(void)
|
|||
}
|
||||
|
||||
|
||||
int Insert_CD(char *iso_name, int is_bin)
|
||||
int Insert_CD(char *cdimg_name, int type)
|
||||
{
|
||||
int ret = 0;
|
||||
int ret = 1;
|
||||
|
||||
CD_Present = 0;
|
||||
Pico_mcd->scd.Status_CDD = NOCD;
|
||||
|
||||
if (iso_name != NULL)
|
||||
if (cdimg_name != NULL && type != CIT_NOT_CD)
|
||||
{
|
||||
ret = Load_ISO(iso_name, is_bin);
|
||||
ret = Load_CD_Image(cdimg_name, type);
|
||||
if (ret == 0) {
|
||||
CD_Present = 1;
|
||||
Pico_mcd->scd.Status_CDD = READY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue