mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Minor optimization
This commit is contained in:
parent
78703cfe47
commit
1ede0f4706
4 changed files with 25 additions and 2 deletions
|
|
@ -107,6 +107,14 @@ namespace vm
|
|||
}
|
||||
}
|
||||
|
||||
void temporary_unlock() noexcept
|
||||
{
|
||||
if (auto cpu = get_current_cpu_thread())
|
||||
{
|
||||
temporary_unlock(*cpu);
|
||||
}
|
||||
}
|
||||
|
||||
reader_lock::reader_lock()
|
||||
: locked(true)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue