aboutsummaryrefslogtreecommitdiff
path: root/arch/dummy/arch.c
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2026-05-25 04:39:17 +0200
committerPaul Oliver <contact@pauloliver.dev>2026-05-25 04:39:17 +0200
commitad21f51f4f14da9b9283fa72f1574cdb7286c4d9 (patch)
treeda4b61ce885c73835ba6a54b34f7d18f126e1a3b /arch/dummy/arch.c
parentbe2c37ac8c8e317eb7e05829ff2078c1b3bbce4e (diff)
Reorganizes SQLite database into two (core and arch) tables
Diffstat (limited to 'arch/dummy/arch.c')
-rw-r--r--arch/dummy/arch.c8
1 files changed, 4 insertions, 4 deletions
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
}