mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Boot messages
This commit is contained in:
parent
1ede0f4706
commit
1c8cb3b7d3
3 changed files with 10 additions and 3 deletions
|
@ -1221,6 +1221,13 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
||||||
{
|
{
|
||||||
const std::string lle_dir = vfs::get("/dev_flash/sys/external/");
|
const std::string lle_dir = vfs::get("/dev_flash/sys/external/");
|
||||||
|
|
||||||
|
if (!fs::is_dir(lle_dir))
|
||||||
|
{
|
||||||
|
LOG_ERROR(GENERAL, "/dev_flash/sys/external/ directory does not exist!"
|
||||||
|
"\nYou should install the PS3 Firmware (Menu: Tools -> Install Firmware)."
|
||||||
|
"\nVisit https://rpcs3.net/ for Quickstart Guide and more information.");
|
||||||
|
}
|
||||||
|
|
||||||
for (const auto& name : load_libs)
|
for (const auto& name : load_libs)
|
||||||
{
|
{
|
||||||
const ppu_prx_object obj = decrypt_self(fs::file(lle_dir + name));
|
const ppu_prx_object obj = decrypt_self(fs::file(lle_dir + name));
|
||||||
|
@ -1245,7 +1252,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG_FATAL(LOADER, "Failed to load %s: %s", name, obj.get_error());
|
fmt::throw_exception("Failed to load /dev_flash/sys/external/%s: %s", name, obj.get_error());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -359,7 +359,7 @@ void MainFrame::BootElf(wxCommandEvent& WXUNUSED(event))
|
||||||
Emu.SetPath(fmt::ToUTF8(ctrl.GetPath()));
|
Emu.SetPath(fmt::ToUTF8(ctrl.GetPath()));
|
||||||
Emu.Load();
|
Emu.Load();
|
||||||
|
|
||||||
LOG_SUCCESS(LOADER, "(S)ELF: boot done.");
|
if (Emu.IsReady()) LOG_SUCCESS(LOADER, "(S)ELF: boot done.");
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainFrame::DecryptSPRXLibraries(wxCommandEvent& WXUNUSED(event))
|
void MainFrame::DecryptSPRXLibraries(wxCommandEvent& WXUNUSED(event))
|
||||||
|
|
|
@ -11,7 +11,7 @@ void fmt_class_string<elf_error>::format(std::string& out, u64 arg)
|
||||||
{
|
{
|
||||||
case elf_error::ok: return "OK";
|
case elf_error::ok: return "OK";
|
||||||
|
|
||||||
case elf_error::stream: return "Invalid stream";
|
case elf_error::stream: return "Invalid stream or file not found";
|
||||||
case elf_error::stream_header: return "Failed to read ELF header";
|
case elf_error::stream_header: return "Failed to read ELF header";
|
||||||
case elf_error::stream_phdrs: return "Failed to read ELF program headers";
|
case elf_error::stream_phdrs: return "Failed to read ELF program headers";
|
||||||
case elf_error::stream_shdrs: return "Failed to read ELF section headers";
|
case elf_error::stream_shdrs: return "Failed to read ELF section headers";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue