diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-09-21 11:21:16 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-09-21 11:21:16 +0000 |
| commit | 365101df94651795638cb9b5d8ae966bd04893ec (patch) | |
| tree | 689fa567f2c94e6d3615dec6b3646f81b93422df /libpcsxcore | |
| parent | c22fec7e40b7519db5bda08f3992dbc4f08453ae (diff) | |
| download | pcsxr-365101df94651795638cb9b5d8ae966bd04893ec.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@30228 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/cdrom.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 31446ef4..9d2eb62a 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -156,8 +156,8 @@ void AddIrqQueue(unsigned char irq, unsigned long ecycle) { } else { CDR_INT(ecycle); } -}
-
+} + void cdrInterrupt() { int i; unsigned char Irq = cdr.Irq; @@ -190,14 +190,9 @@ void cdrInterrupt() { cdr.Result[0] |= 0x11; cdr.Result[0] &= ~0x02; } - else if (i & 0x10) {
- extern void *hCDRDriver;
+ else if (i & 0x10) { cdr.StatP |= 0x2; - cdr.Result[0] |= 0x2;
- if (hCDRDriver != NULL) {
- CDR_close();
- CDR_open();
- } + cdr.Result[0] |= 0x2; CheckCdrom(); } } |
