mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
rsx_methods.cpp fix
This commit is contained in:
parent
190fc4301e
commit
6a9f3040e1
3 changed files with 17 additions and 20 deletions
|
@ -476,10 +476,9 @@ namespace rsx
|
|||
frame_debug.command_queue.push_back(std::make_pair(reg, value));
|
||||
}
|
||||
|
||||
const auto& It = methods.find(reg);
|
||||
if (It != methods.end())
|
||||
if (auto method = methods[reg])
|
||||
{
|
||||
It->second(this, value);
|
||||
method(this, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue