X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flog.cpp;h=ce660e8a0cf742fdf189f05d0ddfa4308fc89030;hb=6c19e4098a43c47f8cd1824902f7335e124b834f;hp=1f6b882e0bce96bfeab2235b49a4208f8fc8b74b;hpb=7c6cd30da93c3fefde7fe189e3a0aa4a26be972d;p=virtualjaguar diff --git a/src/log.cpp b/src/log.cpp index 1f6b882..ce660e8 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -6,17 +6,18 @@ // Cleanups/new stuff by James L. Hammons // +#include "log.h" + #include #include #include "types.h" -#include "log.h" #define MAX_LOG_SIZE 10000000 // Maximum size of log file (10 MB) static FILE * log_stream = NULL; static uint32 logSize = 0; -int log_init(char * path) +int log_init(const char * path) { log_stream = fopen(path, "wrt");