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 /libpsn00b/psxcd/cdgetsector.s | |
| parent | 6c7512ff42805e9399dfee8b67e2f70fa55909d3 (diff) | |
| download | psn00bsdk-2e6625481cd006d0a9d68285ce557f195030718e.tar.gz | |
Fix CdGetSector size inconsistency, update changelog
Diffstat (limited to 'libpsn00b/psxcd/cdgetsector.s')
| -rw-r--r-- | libpsn00b/psxcd/cdgetsector.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpsn00b/psxcd/cdgetsector.s b/libpsn00b/psxcd/cdgetsector.s index 9af3543..dbe95cb 100644 --- a/libpsn00b/psxcd/cdgetsector.s +++ b/libpsn00b/psxcd/cdgetsector.s @@ -18,7 +18,8 @@ CdGetSector: # nop lui $v0, 0x1 - srl $a1, 2 +# srl $a1, 2 # (the official implementation expects $a1/size + # to be in 32-bit words rather than bytes) or $v0, $a1 sw $a0, D3_MADR($a2) # Set DMA base address and transfer length sw $v0, D3_BCR($a2) |
