From 5673c1665a2c6d7fdaf1a20d554bb135a20c7bc8 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Fri, 5 May 2017 12:00:00 +0200 Subject: Import icculus.org release (2017-05-05) --- src/win95/db.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/win95/db.c') diff --git a/src/win95/db.c b/src/win95/db.c index ed3cd57..61b2155 100644 --- a/src/win95/db.c +++ b/src/win95/db.c @@ -387,6 +387,10 @@ void db_print_fired(int x, int y, const char *strP) */ void db_log_fired(const char *strP) { +#if EMSCRIPTEN + printf("%s\n", strP); + return; +#else /* Have we intialised the file? */ if(!InitialisedLog) db_log_init(); { @@ -398,6 +402,7 @@ void db_log_fired(const char *strP) fprintf(fP, "%s\n", strP); fclose(fP); } +#endif } void db_log_init(void) -- cgit v1.3