From bace2d7f20acc609d552a80bb018939d5e8afab8 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Mon, 25 May 2026 21:36:50 +0200 Subject: Save file compression and data aggregation always enabled --- ui/curses/ui.c | 9 ++------- ui/daemon/ui.c | 8 ++++---- 2 files changed, 6 insertions(+), 11 deletions(-) (limited to 'ui') diff --git a/ui/curses/ui.c b/ui/curses/ui.c index 6755619..ce73c01 100644 --- a/ui/curses/ui.c +++ b/ui/curses/ui.c @@ -812,11 +812,6 @@ void tui_print(void) { tui_ulx_field(l++, "syni", SYNC_INTERVAL); #if defined(DATA_PUSH_INTERVAL) tui_ulx_field(l++, "dpsi", DATA_PUSH_INTERVAL); -#endif -#if defined(COMPRESS) - tui_str_field(l++, "xsav", "enabled"); -#else - tui_str_field(l++, "xsav", "disabled"); #endif tui_ulx_field(l++, "step", g_steps); tui_ulx_field(l++, "sync", g_syncs); @@ -1237,8 +1232,8 @@ void init(void) { init_pair(PAIR_INFO, COLOR_GREEN, COLOR_BLACK); init_pair(PAIR_WARN, COLOR_RED, COLOR_BLACK); - g_info = tui_info_impl; - g_warn = tui_warn_impl; + log_info = tui_info_impl; + log_warn = tui_warn_impl; #if defined(COMMAND_NEW) salis_init(); diff --git a/ui/daemon/ui.c b/ui/daemon/ui.c index cec3296..93f088f 100644 --- a/ui/daemon/ui.c +++ b/ui/daemon/ui.c @@ -7,7 +7,7 @@ void sig_handler(int signo) { (void)signo; if (g_running) { - g_warn("Signal received, will stop simulator soon..."); + log_warn("Signal received, will stop simulator soon..."); g_running = false; } } @@ -28,7 +28,7 @@ void step_block(void) { float secs = (float)(end - beg) / (float)CLOCKS_PER_SEC; float steps_per_sec = (float)g_step_block / secs; - g_info("Simulator running on step %#lx @%.1f steps/s", g_steps, steps_per_sec); + log_info("Simulator running on step %#lx @%.1f steps/s", g_steps, steps_per_sec); } int main(void) { @@ -48,10 +48,10 @@ int main(void) { step_block(); } - g_info("Saving simulation..."); + log_info("Saving simulation..."); salis_save(SIM_PATH); salis_free(); - g_info("Exiting salis..."); + log_info("Exiting salis..."); return 0; } -- cgit v1.3