mirror of https://github.com/PCSX2/pcsx2.git
cdvdgigaherz: Read correct sector type in keepalive thread
It'll prevent errors messages when raw sector reading is used.
This commit is contained in:
parent
a34942c882
commit
31b0b53394
|
@ -130,10 +130,10 @@ void keepAliveThread()
|
|||
[]() { return !s_keepalive_is_open; })) {
|
||||
|
||||
//printf(" * keepAliveThread: polling drive.\n");
|
||||
//if (prefetch_last_mode == CDVD_MODE_2048)
|
||||
src->ReadSectors2048(prefetch_last_lba, 1, throwaway);
|
||||
//else
|
||||
// src->ReadSectors2352(prefetch_last_lba, 1, throwaway);
|
||||
if (prefetch_last_mode == CDVD_MODE_2048)
|
||||
src->ReadSectors2048(prefetch_last_lba, 1, throwaway);
|
||||
else
|
||||
src->ReadSectors2352(prefetch_last_lba, 1, throwaway);
|
||||
}
|
||||
|
||||
printf(" * CDVD: KeepAlive thread finished.\n");
|
||||
|
|
Loading…
Reference in New Issue