From 8e08f5f84eacf17ce5e3dcdf16d8839fa12897fd Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 21 Dec 2021 00:43:30 +0900 Subject: [PATCH] [qwaq] Drop qwaq-graphics.log For now, at least. The client console takes over Sys_Printf and breaks the logging. --- ruamoko/qwaq/builtins/qwaq-graphics.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ruamoko/qwaq/builtins/qwaq-graphics.c b/ruamoko/qwaq/builtins/qwaq-graphics.c index bd2769cf6..d66ecc3cd 100644 --- a/ruamoko/qwaq/builtins/qwaq-graphics.c +++ b/ruamoko/qwaq/builtins/qwaq-graphics.c @@ -46,14 +46,6 @@ static progsinit_f secondary_app[] = { 0 }; #endif -static FILE *logfile; - -static __attribute__((format(PRINTF, 1, 0))) void -qwaq_print (const char *fmt, va_list args) -{ - vfprintf (logfile, fmt, args); - fflush (logfile); -} int qwaq_init_threads (qwaq_thread_set_t *thread_data) @@ -62,9 +54,6 @@ qwaq_init_threads (qwaq_thread_set_t *thread_data) size_t memsize = 8 * 1024 * 1024; memhunk_t *hunk = Memory_Init (Sys_Alloc (memsize), memsize); - logfile = fopen ("qwaq-graphics.log", "wt"); - Sys_SetStdPrintf (qwaq_print); - for (size_t i = 1, thread_ind = 0; i < thread_data->size; i++) { qwaq_thread_t *thread = thread_data->a[i]; progsinit_f *app_funcs = 0;//secondary_app;