mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Reimplemented psf loader
This commit is contained in:
parent
8e9f456029
commit
220aab1fd0
6 changed files with 512 additions and 402 deletions
|
@ -231,9 +231,9 @@ void Emulator::Load()
|
|||
|
||||
LOG_NOTICE(LOADER, "");
|
||||
f.Open("/app_home/../PARAM.SFO");
|
||||
const PSFLoader psf(f);
|
||||
std::string title = psf.GetString("TITLE");
|
||||
std::string title_id = psf.GetString("TITLE_ID");
|
||||
const psf::object psf(f);
|
||||
std::string title = psf["TITLE"].as_string();
|
||||
std::string title_id = psf["TITLE_ID"].as_string();
|
||||
LOG_NOTICE(LOADER, "Title: %s", title.c_str());
|
||||
LOG_NOTICE(LOADER, "Serial: %s", title_id.c_str());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue