mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
fixed_typemap.hpp: reduce indirection
Backported some changes from auto_typemap.hpp Implemented methods init(), reset(), clear() Disabled recreation support.
This commit is contained in:
parent
8a9320c4ef
commit
d788b12a8e
20 changed files with 229 additions and 181 deletions
|
@ -429,7 +429,7 @@ void cpu_thread::operator()()
|
|||
}
|
||||
}
|
||||
|
||||
while (!g_fxo->get<cpu_profiler>())
|
||||
while (!g_fxo->is_init<cpu_profiler>())
|
||||
{
|
||||
if (Emu.IsStopped())
|
||||
{
|
||||
|
@ -1151,7 +1151,7 @@ void cpu_thread::stop_all() noexcept
|
|||
|
||||
void cpu_thread::flush_profilers() noexcept
|
||||
{
|
||||
if (!g_fxo->get<cpu_profiler>())
|
||||
if (!g_fxo->is_init<cpu_profiler>())
|
||||
{
|
||||
profiler.fatal("cpu_thread::flush_profilers() has been called incorrectly.");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue