diff --git a/rpcs3/Emu/Memory/Memory.h b/rpcs3/Emu/Memory/Memory.h index a4ea0cfca7..6ed79d3b55 100644 --- a/rpcs3/Emu/Memory/Memory.h +++ b/rpcs3/Emu/Memory/Memory.h @@ -266,13 +266,13 @@ public: #endif { m_base_addr = nullptr; - LOG_ERROR(MEMORY, "Initing memory failed"); + LOG_ERROR(MEMORY, "Initialing memory failed"); assert(0); return; } else { - LOG_NOTICE(MEMORY, "Initing memory: m_base_addr = 0x%llx", (u64)m_base_addr); + LOG_NOTICE(MEMORY, "Initialing memory: m_base_addr = 0x%llx", (u64)m_base_addr); } switch(type) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 3bf2af91bf..87d9b12369 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -16,6 +16,8 @@ #include "Emu/CPU/CPUThreadManager.h" //gui dependency +#include "../Loader/PSF.h" + #include "../Crypto/unself.h" #include #include @@ -165,6 +167,16 @@ void Emulator::Load() { LOG_NOTICE(LOADER, "%s -> %s", m_vfs.m_devices[i]->GetPs3Path().c_str(), m_vfs.m_devices[i]->GetLocalPath().c_str()); } + + LOG_NOTICE(LOADER, " ");//used to be skip_line + vfsFile sfo("/app_home/PARAM.SFO"); + PSFLoader psf(sfo); + psf.Load(false); + std::string title = psf.GetString("TITLE"); + std::string title_id = psf.GetString("TITLE_ID"); + LOG_NOTICE(LOADER, "Title: %s", title.c_str()); + LOG_NOTICE(LOADER, "Serial: %s", title_id.c_str()); + // bdvd inserting imitation vfsFile f1("/app_home/dev_bdvd.path"); if (f1.IsOpened())