mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-03-26 23:51:03 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user