aboutsummaryrefslogtreecommitdiff
path: root/examples/sound/cdstream
diff options
context:
space:
mode:
authorspicyjpeg <thatspicyjpeg@gmail.com>2023-04-04 01:14:36 +0200
committerspicyjpeg <thatspicyjpeg@gmail.com>2023-04-04 01:14:36 +0200
commitf7d9c309661f3027d5bfd119b3daf814e26ef589 (patch)
tree36299daf69c4f435a0f32ebb0b52ada9c799700a /examples/sound/cdstream
parentfd846206ae9419af5ed227989b3ad49b541a823c (diff)
downloadpsn00bsdk-f7d9c309661f3027d5bfd119b3daf814e26ef589.tar.gz
Add PCDRV API, fix warnings and DS region misdetection
Diffstat (limited to 'examples/sound/cdstream')
-rw-r--r--examples/sound/cdstream/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sound/cdstream/main.c b/examples/sound/cdstream/main.c
index 324abb2..53b88e6 100644
--- a/examples/sound/cdstream/main.c
+++ b/examples/sound/cdstream/main.c
@@ -212,7 +212,7 @@ void spu_irq_handler(void) {
// if str_ctx.state is set to STATE_DATA_NEEDED and fetch the next chunk.
}
-void cd_read_handler(int event, uint8_t *payload) {
+void cd_read_handler(CdlIntrResult event, uint8_t *payload) {
// Attempt to read the chunk again if an error has occurred, otherwise
// start uploading it to SPU RAM.
if (event == CdlDiskError) {