CHD: Use the hunk caching
We didn't remember the last hunk and always read again.
This commit is contained in:
parent
e72bd9161e
commit
0f1c63b447
|
@ -63,6 +63,7 @@ struct CHDTrack : TrackFile
|
|||
if (disc->old_hunk!=hunk)
|
||||
{
|
||||
chd_read(disc->chd,hunk,disc->hunk_mem); //CHDERR_NONE
|
||||
disc->old_hunk = hunk;
|
||||
}
|
||||
|
||||
u32 hunk_ofs=fad_offs%disc->sph;
|
||||
|
|
Loading…
Reference in New Issue