Fix OVL patching

This commit is contained in:
trigger 2024-04-15 13:29:18 -07:00 committed by Elad Ashkenazi
parent 1792714901
commit 6aa96e5f81
1 changed files with 1 additions and 1 deletions

View File

@ -2862,7 +2862,7 @@ std::pair<std::shared_ptr<lv2_overlay>, CellError> ppu_load_overlay(const ppu_ex
} }
// Apply the patch // Apply the patch
auto applied = g_fxo->get<patch_engine>().apply(!Emu.DeserialManager() ? std::string{} : hash, [ovlm](u32 addr, u32 size) { return ovlm->get_ptr<u8>(addr, size); }); auto applied = g_fxo->get<patch_engine>().apply(!Emu.DeserialManager() ? hash : std::string{}, [ovlm](u32 addr, u32 size) { return ovlm->get_ptr<u8>(addr, size); });
if (!Emu.DeserialManager() && !Emu.GetTitleID().empty()) if (!Emu.DeserialManager() && !Emu.GetTitleID().empty())
{ {