diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-12-23 22:09:06 +0100 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-12-23 22:09:06 +0100 |
| commit | 2e6625481cd006d0a9d68285ce557f195030718e (patch) | |
| tree | 5a65f290c20cde7a34ceb95fc40f0945ba5968d7 /examples/cdrom | |
| parent | 6c7512ff42805e9399dfee8b67e2f70fa55909d3 (diff) | |
| download | psn00bsdk-2e6625481cd006d0a9d68285ce557f195030718e.tar.gz | |
Fix CdGetSector size inconsistency, update changelog
Diffstat (limited to 'examples/cdrom')
| -rw-r--r-- | examples/cdrom/cdxa/main.c | 2 |
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 */ |
