mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 00:05:45 -04:00
CDROM: Store filename, reduce ack cycles
This commit is contained in:
@ -24,6 +24,7 @@ CDImageBin::~CDImageBin()
|
||||
|
||||
bool CDImageBin::Open(const char* filename)
|
||||
{
|
||||
m_filename = filename;
|
||||
m_fp = std::fopen(filename, "rb");
|
||||
if (!m_fp)
|
||||
{
|
||||
|
@ -63,6 +63,7 @@ bool CDImageCueSheet::OpenAndParse(const char* filename)
|
||||
|
||||
// get the directory of the filename
|
||||
std::string basepath = GetPathDirectory(filename);
|
||||
m_filename = filename;
|
||||
|
||||
u32 disc_lba = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user