diff options
| author | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-10-17 22:42:00 +0200 |
|---|---|---|
| committer | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-10-17 22:42:00 +0200 |
| commit | 2f100c78c0f12b56bcd73c203e6216d415d9f772 (patch) | |
| tree | 932b600b32b53a47727dc9a898417ec12793fac7 /libpsn00b/include | |
| parent | 8770122c970eeedb145ee903e2243b7d4a18605b (diff) | |
| download | psn00bsdk-2f100c78c0f12b56bcd73c203e6216d415d9f772.tar.gz | |
Remove interrupt disabling calls in psxcd callback APIs
Diffstat (limited to 'libpsn00b/include')
| -rw-r--r-- | libpsn00b/include/psxcd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpsn00b/include/psxcd.h b/libpsn00b/include/psxcd.h index 429a439..0460f20 100644 --- a/libpsn00b/include/psxcd.h +++ b/libpsn00b/include/psxcd.h @@ -145,7 +145,7 @@ int CdControlF(uint8_t com, const void *param); int CdSync(int mode, uint8_t *result); uint32_t CdSyncCallback(CdlCB func); -long CdReadyCallback(CdlCB func); +int CdReadyCallback(CdlCB func); int CdGetSector(void *madr, int size); int CdGetSector2(void *madr, int size); int CdDataSync(int mode); @@ -168,7 +168,7 @@ void CdCloseDir(CdlDIR* dir); int CdGetVolumeLabel(char* label); -long* CdAutoPauseCallback(void(*func)()); +int* CdAutoPauseCallback(void(*func)()); int CdIsoError(); int CdLoadSession(int session); |
