diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-10-07 13:53:53 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-10-07 13:53:53 +0000 |
| commit | aac9f1d0588286845f627cf2e564f1ec850d8505 (patch) | |
| tree | 620fb801c9b5dcf4a2036aadfff56e0c86d6a55a /libpcsxcore | |
| parent | 83c326c0d7d786fdde2e47714e2fda78f0f6a09a (diff) | |
| download | pcsxr-aac9f1d0588286845f627cf2e564f1ec850d8505.tar.gz | |
Judge Dredd / Xenogears: cdrom.c
- Filter specific FORM2 ID ($64, $E4)
- Fixes Dredd in-game sprites / Xeno movies
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58169 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/cdrom.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 1928e09a..f5602af0 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -863,8 +863,12 @@ void cdrReadInterrupt() { CDREAD_INT((cdr.Mode & 0x80) ? (cdReadTime / 2) : cdReadTime); } - // Judge Dredd: don't return FORM2 during XA playback (movie playing)
- if( (cdr.Mode & 0x40) == 0 || ( cdr.Transfer[4+3] == 0 )) {
+ /*
+ Judge Dredd: don't return FORM2 during ADPCM playback (movie playing)
+
+ Xenogears: use correct FORM2 ID ($64 / $E4 for movies)
+ */
+ if( (cdr.Mode & 0x40) == 0 || (cdr.Transfer[4+2] & 0x64) != 0x64 ) {
cdr.Stat = DataReady;
psxHu32ref(0x1070) |= SWAP32((u32)0x4);
|
