mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-22 18:55:40 -04:00
Android: Allow opening/getting files relative to downloads directory
This commit is contained in:
@ -673,8 +673,8 @@ bool CDImagePBP::OpenDisc(u32 index, Common::Error* error)
|
||||
|
||||
if (m_disc_offsets.size() > 1)
|
||||
{
|
||||
std::string sbi_path =
|
||||
FileSystem::StripExtension(m_filename) + StringUtil::StdStringFromFormat("_%u.sbi", index + 1);
|
||||
std::string sbi_path(FileSystem::StripExtension(m_filename));
|
||||
sbi_path += TinyString::FromFormat("_%u.sbi", index + 1);
|
||||
m_sbi.LoadSBI(sbi_path.c_str());
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user