aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/include/psxcd.h
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-09-19 20:43:05 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-09-19 20:43:05 +0800
commit9f4891f95070c66ea9f1aba99d72724d4ab24e5a (patch)
tree723e3ef2118a3d1a9e6dafa811ed1b8b1bc9196e /libpsn00b/include/psxcd.h
parent6762c39551ded059450d17d8bb0cb80642c8aaab (diff)
downloadpsn00bsdk-9f4891f95070c66ea9f1aba99d72724d4ab24e5a.tar.gz
Revised makefiles, added strtok(), command line arguments, SetHeapSize(), moved ISR and callback system to psxetc, moved debug font to psxgpu, fixed CD-ROM library crashing on PSIO, fixed interrupt callback setup to fix crashing on ResetGraph()
Diffstat (limited to 'libpsn00b/include/psxcd.h')
-rw-r--r--libpsn00b/include/psxcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpsn00b/include/psxcd.h b/libpsn00b/include/psxcd.h
index 072a219..6616b53 100644
--- a/libpsn00b/include/psxcd.h
+++ b/libpsn00b/include/psxcd.h
@@ -72,6 +72,7 @@
#define CdlIsoSeekError 0x01
#define CdlIsoReadError 0x02
#define CdlIsoInvalidFs 0x03
+#define CdlIsoLidOpen 0x04
#define btoi(b) ((b)/16*10+(b)%16) /* Convert BCD value to integer */
#define itob(i) ((i)/10*16+(i)%10) /* Convert integer to BCD value */
@@ -161,6 +162,8 @@ int CdGetVolumeLabel(char* label);
long* CdAutoPauseCallback(void(*func)());
int CdIsoError();
+int CdLoadSession(int session);
+
#ifdef __cplusplus
}
#endif