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:
fae38d7
)
cdrom: forget old sector on cd change
author
notaz
<notasas@gmail.com>
Sun, 13 Nov 2022 23:17:58 +0000
(
01:17
+0200)
committer
notaz
<notasas@gmail.com>
Sun, 13 Nov 2022 23:19:56 +0000
(
01:19
+0200)
libretro/pcsx_rearmed#689
libpcsxcore/cdrom.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/cdrom.c
b/libpcsxcore/cdrom.c
index
18d6bf9
..
10fc615
100644
(file)
--- a/
libpcsxcore/cdrom.c
+++ b/
libpcsxcore/cdrom.c
@@
-325,6
+325,7
@@
void cdrLidSeekInterrupt(void)
if (stat.Status & STATUS_SHELLOPEN)
{
+ memset(cdr.Prev, 0xff, sizeof(cdr.Prev));
cdr.DriveState = DRIVESTATE_LID_OPEN;
CDRLID_INT(0x800);
}