mirror of https://github.com/PCSX2/pcsx2.git
Note why multiple blocks aren't optimized in CSO.
This commit is contained in:
parent
49cfc3424b
commit
427fa039ba
|
@ -183,6 +183,9 @@ int CsoFileReader::ReadSync(void* pBuffer, uint sector, uint count) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
// Note that, in practice, count will always be 1. It seems one sector is read
|
||||
// per interrupt, even if multiple are requested by the application.
|
||||
|
||||
u8* dest = (u8*)pBuffer;
|
||||
// We do it this way in case m_blocksize is not well aligned to our frame size.
|
||||
u64 pos = (u64)sector * (u64)m_blocksize;
|
||||
|
|
Loading…
Reference in New Issue