mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
PlayGo: basic implementation, credits to red-prig
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user