summaryrefslogtreecommitdiff
path: root/src/win95/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win95/db.c')
-rw-r--r--src/win95/db.c5
1 files changed, 5 insertions, 0 deletions
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)