mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 09:32:42 +00:00
parent
520524285a
commit
776b3b5efa
@ -9930,8 +9930,8 @@ public:
|
|||||||
m_ir->SetInsertPoint(done);
|
m_ir->SetInsertPoint(done);
|
||||||
|
|
||||||
const auto ad64 = m_ir->CreateZExt(ad32, get_type<u64>());
|
const auto ad64 = m_ir->CreateZExt(ad32, get_type<u64>());
|
||||||
const auto pptr = m_ir->CreateGEP(get_type<u8>(), m_function_table, {m_ir->getInt64(0), m_ir->CreateLShr(ad64, 2, "", true)});
|
const auto pptr = m_ir->CreateGEP(m_function_table->getValueType(), m_function_table, {m_ir->getInt64(0), m_ir->CreateLShr(ad64, 2, "", true)});
|
||||||
tail_chunk({m_dispatch->getFunctionType(), m_ir->CreateLoad(get_type<u8*>(), pptr)});
|
tail_chunk({m_dispatch->getFunctionType(), m_ir->CreateLoad(pptr->getType()->getPointerElementType(), pptr)});
|
||||||
m_ir->SetInsertPoint(fail);
|
m_ir->SetInsertPoint(fail);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user