aboutsummaryrefslogtreecommitdiff
path: root/examples/cdrom
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-12-23 22:09:06 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-12-23 22:09:06 +0100
commit2e6625481cd006d0a9d68285ce557f195030718e (patch)
tree5a65f290c20cde7a34ceb95fc40f0945ba5968d7 /examples/cdrom
parent6c7512ff42805e9399dfee8b67e2f70fa55909d3 (diff)
downloadpsn00bsdk-2e6625481cd006d0a9d68285ce557f195030718e.tar.gz
Fix CdGetSector size inconsistency, update changelog
Diffstat (limited to 'examples/cdrom')
-rw-r--r--examples/cdrom/cdxa/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cdrom/cdxa/main.c b/examples/cdrom/cdxa/main.c
index 5f11d8d..284b92f 100644
--- a/examples/cdrom/cdxa/main.c
+++ b/examples/cdrom/cdxa/main.c
@@ -199,7 +199,7 @@ void xa_callback(int intr, unsigned char *result)
if (intr == CdlDataReady)
{
/* Fetch data sector */
- CdGetSector((u_long*)&xa_sector_buff, 2048);
+ CdGetSector((u_long*)&xa_sector_buff, 512);
/* Quirk: This CdGetSector() implementation must fetch 2048 bytes */
/* or more otherwise the following sectors will be read in an */