mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Show more information in GSFrame, some changes in cellAudio
This commit is contained in:
parent
a9647152f7
commit
b3be4d11e3
6 changed files with 130 additions and 9 deletions
|
@ -101,6 +101,11 @@ void Emulator::SetTitleID(const std::string& id)
|
|||
m_title_id = id;
|
||||
}
|
||||
|
||||
void Emulator::SetTitle(const std::string& title)
|
||||
{
|
||||
m_title = title;
|
||||
}
|
||||
|
||||
void Emulator::CheckStatus()
|
||||
{
|
||||
std::vector<CPUThread *>& threads = GetCPU().GetThreads();
|
||||
|
@ -149,7 +154,7 @@ bool Emulator::BootGame(const std::string& path, bool direct, int device)
|
|||
"/BOOT.BIN",
|
||||
"/PS3_GAME/USRDIR/EBOOT.BIN",
|
||||
"/USRDIR/EBOOT.BIN",
|
||||
"/EBOOT.BIN",
|
||||
"/EBOOT.BIN"
|
||||
};
|
||||
auto curpath = path;
|
||||
|
||||
|
@ -228,7 +233,7 @@ void Emulator::Load()
|
|||
}
|
||||
|
||||
LOG_NOTICE(LOADER, " ");//used to be skip_line
|
||||
vfsFile sfo("/app_home/../PARAM.SFO");
|
||||
vfsFile sfo("/app_home/../../PARAM.SFO");
|
||||
PSFLoader psf(sfo);
|
||||
psf.Load(false);
|
||||
std::string title = psf.GetString("TITLE");
|
||||
|
@ -236,6 +241,9 @@ void Emulator::Load()
|
|||
LOG_NOTICE(LOADER, "Title: %s", title.c_str());
|
||||
LOG_NOTICE(LOADER, "Serial: %s", title_id.c_str());
|
||||
|
||||
title.length() ? SetTitle(title) : SetTitle(m_path);
|
||||
SetTitleID(title_id);
|
||||
|
||||
// bdvd inserting imitation
|
||||
vfsFile f1("/app_home/../dev_bdvd.path");
|
||||
if (f1.IsOpened())
|
||||
|
@ -271,7 +279,7 @@ void Emulator::Load()
|
|||
}
|
||||
|
||||
// trying to load some info from PARAM.SFO
|
||||
vfsFile f2("/app_home/../PARAM.SFO");
|
||||
vfsFile f2("/app_home/../../PARAM.SFO");
|
||||
if (f2.IsOpened())
|
||||
{
|
||||
PSFLoader psf(f2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue