CHD: Use the hunk caching
We didn't remember the last hunk and always read again.
This commit is contained in:
parent
4bb9507695
commit
98c1e7253c
|
@ -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