Skip to content

Commit 36142fb

Browse files
authored
Merge branch 'master' into remove_config
2 parents 22c7515 + 9deb6cd commit 36142fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rpcs3/Emu/Cell/PPUThread.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,9 @@ extern void ppu_register_function_at(u32 addr, u32 size, ppu_intrp_func_t ptr =
827827
return;
828828
}
829829

830+
size = utils::align<u32>(size + addr % 4, 4);
831+
addr &= -4;
832+
830833
if (g_cfg.core.ppu_decoder == ppu_decoder_type::llvm)
831834
{
832835
return;

0 commit comments

Comments
 (0)