mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
rsx: Use bitfield template to decode values.
This commit is contained in:
parent
2064f1cb80
commit
8b12379eb3
8 changed files with 3523 additions and 1663 deletions
|
@ -477,9 +477,10 @@ namespace rsx
|
|||
frame_debug.command_queue.push_back(std::make_pair(reg, value));
|
||||
}
|
||||
|
||||
if (auto method = methods[reg])
|
||||
const auto& It = methods.find(reg);
|
||||
if (It != methods.end())
|
||||
{
|
||||
method(this, value);
|
||||
It->second(this, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue