mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-05-09 16:24:19 -04:00
CHD: Don't delete the header
This is a pointer into the base CHD struct which is freed by chd_close.
This commit is contained in:
parent
0ae0bc718e
commit
c63230d05f
|
@ -69,7 +69,6 @@ void CHD_Reader::find_offset()
|
|||
void CHD_Reader::close()
|
||||
{
|
||||
chd_close(m_file);
|
||||
delete (m_header);
|
||||
}
|
||||
|
||||
size_t CHD_Reader::read(uint8_t* buff, size_t bytes)
|
||||
|
|
Loading…
Reference in a new issue