Android: Allow opening/getting files relative to downloads directory
This commit is contained in:
parent
600ae7bcc0
commit
46d19eeb1f
16 changed files with 281 additions and 41 deletions
|
|
@ -385,7 +385,7 @@ bool CDImageEcm::Open(const char* filename, Common::Error* error)
|
|||
|
||||
AddLeadOutIndex();
|
||||
|
||||
m_sbi.LoadSBI(FileSystem::ReplaceExtension(filename, "sbi").c_str());
|
||||
m_sbi.LoadSBIFromImagePath(filename);
|
||||
|
||||
m_chunk_buffer.reserve(RAW_SECTOR_SIZE * 2);
|
||||
return Seek(1, Position{0, 0, 0});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue