mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
core config: Expose min/max ranges of integral settings and use it
This commit is contained in:
parent
a6c94a0eaf
commit
6d3fc3a386
3 changed files with 9 additions and 3 deletions
|
@ -66,7 +66,7 @@ namespace vm
|
|||
atomic_t<u32> g_addr_lock = 0;
|
||||
|
||||
// Memory mutex: passive locks
|
||||
std::array<atomic_t<cpu_thread*>, 4> g_locks{};
|
||||
std::array<atomic_t<cpu_thread*>, g_cfg.core.ppu_threads.max> g_locks{};
|
||||
std::array<atomic_t<u64>, 6> g_range_locks{};
|
||||
|
||||
static void _register_lock(cpu_thread* _cpu)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue