correct createfile params for appending

This commit is contained in:
Ryan Fleury
2024-04-23 08:34:32 -07:00
parent 856c59a949
commit 757cd9b9d2
4 changed files with 6 additions and 3 deletions
+1
View File
@@ -857,6 +857,7 @@ ctrl_init(void)
String8 user_data_folder = push_str8f(scratch.arena, "%S/raddbg/logs", user_program_data_path);
os_make_directory(user_data_folder);
ctrl_state->ctrl_thread_log_path = push_str8f(ctrl_state->arena, "%S/ctrl_thread.raddbg_log", user_data_folder);
os_write_data_to_file_path(ctrl_state->ctrl_thread_log_path, str8_zero());
scratch_end(scratch);
}
ctrl_state->ctrl_thread_entity_store = ctrl_entity_store_alloc();