aboutsummaryrefslogtreecommitdiff
path: root/examples/sound/cdstream
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sound/cdstream')
-rw-r--r--examples/sound/cdstream/CMakeLists.txt5
-rw-r--r--examples/sound/cdstream/iso.xml5
-rw-r--r--examples/sound/cdstream/main.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/sound/cdstream/CMakeLists.txt b/examples/sound/cdstream/CMakeLists.txt
index e569449..d04761c 100644
--- a/examples/sound/cdstream/CMakeLists.txt
+++ b/examples/sound/cdstream/CMakeLists.txt
@@ -13,7 +13,10 @@ project(
file(GLOB _sources *.c)
psn00bsdk_add_executable(cdstream GPREL ${_sources})
-psn00bsdk_add_cd_image(cdstream_iso cdstream iso.xml DEPENDS cdstream)
+psn00bsdk_add_cd_image(
+ cdstream_iso cdstream iso.xml
+ DEPENDS cdstream system.cnf stream.vag
+)
install(
FILES
diff --git a/examples/sound/cdstream/iso.xml b/examples/sound/cdstream/iso.xml
index 66f1f74..10128eb 100644
--- a/examples/sound/cdstream/iso.xml
+++ b/examples/sound/cdstream/iso.xml
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<iso_project
- image_name="${CD_IMAGE_NAME}.bin"
- cue_sheet="${CD_IMAGE_NAME}.cue"
->
+<iso_project>
<track type="data">
<identifiers
system ="PLAYSTATION"
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) {