summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index ab11790..a4a36b0 100644
--- a/main.c
+++ b/main.c
@@ -117,6 +117,8 @@ int main(void)
if (state.thread_alive)
pthread_cancel(step_thread);
+
+ write_to_file(&state, "data.out");
CloseWindow();
return 0;
}