mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
ppu: move alignment below llvm check
This commit is contained in:
parent
7f9cc357e8
commit
53edd410c7
|
|
@ -827,14 +827,14 @@ extern void ppu_register_function_at(u32 addr, u32 size, ppu_intrp_func_t ptr =
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
size = utils::align<u32>(size + addr % 4, 4);
|
|
||||||
addr &= -4;
|
|
||||||
|
|
||||||
if (g_cfg.core.ppu_decoder == ppu_decoder_type::llvm)
|
if (g_cfg.core.ppu_decoder == ppu_decoder_type::llvm)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size = utils::align<u32>(size + addr % 4, 4);
|
||||||
|
addr &= -4;
|
||||||
|
|
||||||
// Initialize interpreter cache
|
// Initialize interpreter cache
|
||||||
while (size)
|
while (size)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue