notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.cue support, Pico stubs
[picodrive.git]
/
Pico
/
cd
/
cd_sys.c
diff --git
a/Pico/cd/cd_sys.c
b/Pico/cd/cd_sys.c
index
61482e1
..
ee6dda5
100644
(file)
--- a/
Pico/cd/cd_sys.c
+++ b/
Pico/cd/cd_sys.c
@@
-13,8
+13,6
@@
#include "cd_sys.h"
\r
#include "cd_file.h"
\r
\r
#include "cd_sys.h"
\r
#include "cd_file.h"
\r
\r
-#define cdprintf dprintf
\r
-//#define cdprintf(x...)
\r
#define DEBUG_CD
\r
\r
#define TRAY_OPEN 0x0500 // TRAY OPEN CDD status
\r
#define DEBUG_CD
\r
\r
#define TRAY_OPEN 0x0500 // TRAY OPEN CDD status
\r
@@
-198,16
+196,16
@@
PICO_INTERNAL void Reset_CD(void)
}
\r
\r
\r
}
\r
\r
\r
-int Insert_CD(char *
iso_name, int is_bin
)
\r
+int Insert_CD(char *
cdimg_name, int type
)
\r
{
\r
{
\r
- int ret =
0
;
\r
+ int ret =
1
;
\r
\r
CD_Present = 0;
\r
Pico_mcd->scd.Status_CDD = NOCD;
\r
\r
\r
CD_Present = 0;
\r
Pico_mcd->scd.Status_CDD = NOCD;
\r
\r
- if (
iso_name != NULL
)
\r
+ if (
cdimg_name != NULL && type != CIT_NOT_CD
)
\r
{
\r
{
\r
- ret = Load_
ISO(iso_name, is_bin
);
\r
+ ret = Load_
CD_Image(cdimg_name, type
);
\r
if (ret == 0) {
\r
CD_Present = 1;
\r
Pico_mcd->scd.Status_CDD = READY;
\r
if (ret == 0) {
\r
CD_Present = 1;
\r
Pico_mcd->scd.Status_CDD = READY;
\r