mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
- Implemented be_t, mem_struct_ptr_t, vfsFile.
- Improved sys_fs, cellPngDec, cellJpgDec, cellGifDec modules.
This commit is contained in:
parent
efd336b743
commit
dd48f827c3
23 changed files with 1292 additions and 679 deletions
|
@ -99,16 +99,21 @@ void Emulator::Load()
|
|||
}
|
||||
ConLog.SkipLn();
|
||||
|
||||
const auto f = m_elf_path.Len() ? OpenFile(m_elf_path) : std::shared_ptr<vfsLocalFile>(new vfsLocalFile(m_path));
|
||||
if(m_elf_path.IsEmpty())
|
||||
{
|
||||
GetVFS().GetDeviceLocal(m_path, m_elf_path);
|
||||
}
|
||||
|
||||
if(!f->IsOpened())
|
||||
vfsFile f(m_elf_path);
|
||||
|
||||
if(!f.IsOpened())
|
||||
{
|
||||
ConLog.Error("Elf not found! (%s - %s)", m_path, m_elf_path);
|
||||
return;
|
||||
}
|
||||
|
||||
bool is_error;
|
||||
Loader l(*f);
|
||||
Loader l(f);
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue