mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-10 04:27:11 +03:00
PlayGo: basic implementation, credits to red-prig
This commit is contained in:
parent
138c9ce787
commit
516a3e7104
5 changed files with 446 additions and 54 deletions
|
@ -91,8 +91,11 @@ void Emulator::Run(const std::filesystem::path& file) {
|
|||
app_version = param_sfo->GetString("APP_VER");
|
||||
LOG_INFO(Loader, "Fw: {:#x} App Version: {}", fw_version, app_version);
|
||||
} else if (entry.path().filename() == "playgo-chunk.dat") {
|
||||
auto* playgo = Common::Singleton<PlaygoChunk>::Instance();
|
||||
playgo->Open(sce_sys_folder.string() + "/playgo-chunk.dat");
|
||||
auto* playgo = Common::Singleton<PlaygoFile>::Instance();
|
||||
auto filepath = sce_sys_folder / "playgo-chunk.dat";
|
||||
if (!playgo->Open(filepath)) {
|
||||
LOG_ERROR(Loader, "PlayGo: unable to open file");
|
||||
}
|
||||
} else if (entry.path().filename() == "pic0.png" ||
|
||||
entry.path().filename() == "pic1.png") {
|
||||
auto* splash = Common::Singleton<Splash>::Instance();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue