aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/include/psxcd.h
diff options
context:
space:
mode:
authorspicyjpeg <thatspicyjpeg@gmail.com>2022-10-27 12:04:11 +0200
committerspicyjpeg <thatspicyjpeg@gmail.com>2022-10-27 12:04:11 +0200
commit4dbf47f129a55428b90df2805228fbd481e1d117 (patch)
tree5f85468522e96e00157a290ad3b809d1c3633b1d /libpsn00b/include/psxcd.h
parent5f25c0bf306d316c87fca9d3fe160d6661be230d (diff)
downloadpsn00bsdk-4dbf47f129a55428b90df2805228fbd481e1d117.tar.gz
Fix SPU_TRANSFER_BY_IO mode, add IRQ/DMA enums
Diffstat (limited to 'libpsn00b/include/psxcd.h')
-rw-r--r--libpsn00b/include/psxcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpsn00b/include/psxcd.h b/libpsn00b/include/psxcd.h
index 0460f20..bd89f53 100644
--- a/libpsn00b/include/psxcd.h
+++ b/libpsn00b/include/psxcd.h
@@ -136,7 +136,7 @@ extern "C" {
int CdInit(void);
CdlLOC* CdIntToPos(int i, CdlLOC *p);
-int CdPosToInt(CdlLOC *p);
+int CdPosToInt(const CdlLOC *p);
int CdGetToc(CdlLOC *toc);
int CdControl(uint8_t com, const void *param, uint8_t *result);
@@ -159,7 +159,7 @@ uint32_t CdReadCallback(CdlCB func);
int CdStatus(void);
int CdMode(void);
-int CdMix(CdlATV *vol);
+int CdMix(const CdlATV *vol);
/* ORIGINAL CODE */
CdlDIR* CdOpenDir(const char* path);