diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-12-31 18:27:51 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-12-31 18:27:51 +0000 |
| commit | 27deacca769aba7ced7c9896ff942544c7e1c767 (patch) | |
| tree | 9019acafbc3054d48cda13b72074bffefcb480e5 | |
| parent | 58603c5526b4753072eaec983723ff034b806166 (diff) | |
| download | pcsxr-27deacca769aba7ced7c9896ff942544c7e1c767.tar.gz | |
hopkat
-cdrom-getlocp local, bios play
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61666 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | libpcsxcore/cdrom.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 937012b3..9c8bc240 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1010,6 +1010,11 @@ void cdrInterrupt() { cdr.SetSectorPlay[1] = cdr.ResultTD[1]; cdr.SetSectorPlay[2] = cdr.ResultTD[0]; + // reset data
+ Set_Track();
+ Find_CurTrack();
+ ReadTrack( cdr.SetSectorPlay );
+
//CDR_play(cdr.SetSectorPlay); } } @@ -1196,9 +1201,9 @@ void cdrInterrupt() { cdr.Result[1] = itob(fake_subq_index);
// local
- cdr.Result[3] = itob( fake_subq_local[0] );
- cdr.Result[4] = itob( fake_subq_local[1] );
- cdr.Result[5] = itob( fake_subq_local[2] );
+ cdr.Result[2] = itob( fake_subq_local[0] );
+ cdr.Result[3] = itob( fake_subq_local[1] );
+ cdr.Result[4] = itob( fake_subq_local[2] );
// absolute
cdr.Result[5] = itob( fake_subq_real[0] );
|
