mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-03-29 18:01:00 +02: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:
@@ -20,6 +20,8 @@ namespace Arm {
|
||||
|
||||
class DisassemblerVisitor {
|
||||
public:
|
||||
using instruction_return_type = std::string;
|
||||
|
||||
std::string thumb16_LSL_imm(Imm5 imm5, Reg m, Reg d) {
|
||||
return fmt::format("lsls {}, {}, #{}", d, m, imm5);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user