cdvdgigaherz: Read correct sector type in keepalive thread

It'll prevent errors messages when raw sector reading is used.
This commit is contained in:
Jonathan Li 2016-11-17 00:39:45 +00:00 committed by Gregory Hainaut
parent a34942c882
commit 31b0b53394
1 changed files with 4 additions and 4 deletions

View File

@ -130,10 +130,10 @@ void keepAliveThread()
[]() { return !s_keepalive_is_open; })) { []() { return !s_keepalive_is_open; })) {
//printf(" * keepAliveThread: polling drive.\n"); //printf(" * keepAliveThread: polling drive.\n");
//if (prefetch_last_mode == CDVD_MODE_2048) if (prefetch_last_mode == CDVD_MODE_2048)
src->ReadSectors2048(prefetch_last_lba, 1, throwaway); src->ReadSectors2048(prefetch_last_lba, 1, throwaway);
//else else
// src->ReadSectors2352(prefetch_last_lba, 1, throwaway); src->ReadSectors2352(prefetch_last_lba, 1, throwaway);
} }
printf(" * CDVD: KeepAlive thread finished.\n"); printf(" * CDVD: KeepAlive thread finished.\n");