fs::get_data_dir implemented

This commit is contained in:
Nekotekina 2016-07-11 22:00:12 +03:00
parent 2c981cf940
commit ba8fd825ec
3 changed files with 81 additions and 0 deletions

View file

@ -204,6 +204,7 @@ void Emulator::Load()
const auto _psf = psf::load_object(fs::file(elf_dir + "/../PARAM.SFO"));
m_title = psf::get_string(_psf, "TITLE", m_path);
m_title_id = psf::get_string(_psf, "TITLE_ID");
fs::get_data_dir(m_title_id, m_path);
LOG_NOTICE(LOADER, "Title: %s", GetTitle());
LOG_NOTICE(LOADER, "Serial: %s", GetTitleID());