notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a11a88
)
cdrom: fix ID, again
author
notaz
<notasas@gmail.com>
Sun, 13 Jan 2013 18:35:14 +0000
(20:35 +0200)
committer
notaz
<notasas@gmail.com>
Sun, 13 Jan 2013 18:35:35 +0000
(20:35 +0200)
libpcsxcore/cdrom.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/cdrom.c
b/libpcsxcore/cdrom.c
index
3117a9b
..
3e95742
100644
(file)
--- a/
libpcsxcore/cdrom.c
+++ b/
libpcsxcore/cdrom.c
@@
-946,9
+946,9
@@
void cdrInterrupt() {
cdr.Result[2] = 0;
cdr.Result[3] = 0;
- // 0x10 - audio | 0x80 - unlicensed
- if (CDR_getStatus(&stat) == -1) {
- cdr.Result[1] = 0x
80; // 0x80 leads to the menu in the bios, else loads CD
+ // 0x10 - audio | 0x
40 - disk missing | 0x
80 - unlicensed
+ if (CDR_getStatus(&stat) == -1
|| stat.Type == 0 || stat.Type == 0xff
) {
+ cdr.Result[1] = 0x
c0;
}
else {
if (stat.Type == 2)