rsx: Use bitfield template to decode values.

This commit is contained in:
Vincent Lejeune 2016-07-20 18:23:55 +02:00
parent 2064f1cb80
commit 8b12379eb3
8 changed files with 3523 additions and 1663 deletions

View file

@ -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);
}
}