mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
fix build; restore asmjit reader_lock for now
This commit is contained in:
parent
cbd1b28d0d
commit
94c1b74a17
4 changed files with 8 additions and 7 deletions
|
|
@ -62,7 +62,7 @@ std::shared_ptr<spu_function_t> SPUDatabase::analyse(const be_t<u32>* ls, u32 en
|
|||
const u32 block_sz = max_limit - entry;
|
||||
|
||||
{
|
||||
//reader_lock lock(m_mutex);
|
||||
reader_lock lock(m_mutex);
|
||||
|
||||
// Try to find existing function in the database
|
||||
if (auto func = find(base, key, block_sz))
|
||||
|
|
@ -101,7 +101,7 @@ std::shared_ptr<spu_function_t> SPUDatabase::analyse(const be_t<u32>* ls, u32 en
|
|||
const auto type = s_spu_itype.decode(op.opcode);
|
||||
|
||||
{
|
||||
//reader_lock lock(m_mutex);
|
||||
reader_lock lock(m_mutex);
|
||||
|
||||
// Find existing function
|
||||
if (pos != entry && find(ls + pos / 4, pos | u64{ op.opcode } << 32, limit - pos))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue