ppu: move alignment below llvm check

This commit is contained in:
Megamouse 2025-11-21 19:05:53 +01:00
parent 7f9cc357e8
commit 53edd410c7

View file

@ -827,14 +827,14 @@ extern void ppu_register_function_at(u32 addr, u32 size, ppu_intrp_func_t ptr =
return;
}
size = utils::align<u32>(size + addr % 4, 4);
addr &= -4;
if (g_cfg.core.ppu_decoder == ppu_decoder_type::llvm)
{
return;
}
size = utils::align<u32>(size + addr % 4, 4);
addr &= -4;
// Initialize interpreter cache
while (size)
{