Skip to content

Commit

Permalink
Fix OVL patching
Browse files Browse the repository at this point in the history
  • Loading branch information
cipherxof authored and elad335 committed Apr 16, 2024
1 parent 1792714 commit 6aa96e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/PPUModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2862,7 +2862,7 @@ std::pair<std::shared_ptr<lv2_overlay>, CellError> ppu_load_overlay(const ppu_ex
}

// 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())
{
Expand Down

0 comments on commit 6aa96e5

Please sign in to comment.