From ad21f51f4f14da9b9283fa72f1574cdb7286c4d9 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Mon, 25 May 2026 04:39:17 +0200 Subject: Reorganizes SQLite database into two (core and arch) tables --- arch/dummy/arch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch/dummy/arch.c') diff --git a/arch/dummy/arch.c b/arch/dummy/arch.c index 20fc49d..278754f 100644 --- a/arch/dummy/arch.c +++ b/arch/dummy/arch.c @@ -124,8 +124,8 @@ void arch_validate_proc(const struct Core *core, uint64_t pix) { wchar_t arch_symbol(uint8_t inst) { switch (inst) { -#define INST(index, label, mnemonic, symbol) case index: return symbol; - INST_SET +#define INST(core, pref, index, label, mnemonic, symbol) case index: return symbol; + INST_SET(core, pref) #undef INST } @@ -135,8 +135,8 @@ wchar_t arch_symbol(uint8_t inst) { const char *arch_mnemonic(uint8_t inst) { switch (inst) { -#define INST(index, label, mnemonic, symbol) case index: return mnemonic; - INST_SET +#define INST(core, pref, index, label, mnemonic, symbol) case index: return mnemonic; + INST_SET(core, pref) #undef INST } -- cgit v1.3