From b54b9ceb2952ba84b58e75aba014558b17d08e77 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 2 Jul 2026 23:51:22 +0200 Subject: Evas are now saved to files --- arch/null/arch.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'arch/null') diff --git a/arch/null/arch.c b/arch/null/arch.c index 1fcfbc3..7dd521e 100644 --- a/arch/null/arch.c +++ b/arch/null/arch.c @@ -148,12 +148,15 @@ const char *arch_mnemonic(uint8_t inst) { void arch_push_data_header(void) { assert(g_sim_db); log_info("Creating arch table in SQLite database"); - sql_exec(0, NULL, NULL, NULL, NULL, "create table arch (step int not null);"); + sql_exec(NULL, NULL, "create table arch (step int not null);"); } #endif -void arch_push_data_line(void) { +void arch_push_data_line(FILE *eva_file) { assert(g_sim_db); + assert(eva_file); + (void)eva_file; + log_info("Pushing row to arch table in SQLite database"); - sql_exec(0, NULL, NULL, NULL, NULL, "insert into arch (step) values (%ld);", g_steps); + sql_exec(NULL, NULL, "insert into arch (step) values (%ld);", g_steps); } -- cgit v1.2.1