mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-05-20 05:01:02 -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()
|
void CHD_Reader::close()
|
||||||
{
|
{
|
||||||
chd_close(m_file);
|
chd_close(m_file);
|
||||||
delete (m_header);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t CHD_Reader::read(uint8_t* buff, size_t bytes)
|
size_t CHD_Reader::read(uint8_t* buff, size_t bytes)
|
||||||
|
|
Loading…
Reference in a new issue