mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-28 02:05:00 +01:00
decoder: Generify the matcher interface (#33)
Gets rid of a bit of duplication while remaining compatible with the current interfaces in place.
This commit is contained in:
parent
943487ecee
commit
f75acd6cfb
11 changed files with 116 additions and 172 deletions
|
|
@ -21,6 +21,8 @@ namespace Arm {
|
|||
|
||||
class DisassemblerVisitor {
|
||||
public:
|
||||
using instruction_return_type = std::string;
|
||||
|
||||
u32 rotr(u32 x, int shift) {
|
||||
shift &= 31;
|
||||
if (!shift) return x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue