]> Shamusworld >> Repos - stargem2/blobdiff - src/log.cpp
Converted to SDL 2, added fullscreen support (F12 to toggle).
[stargem2] / src / log.cpp
index 236d56385e254651118b5f6cb1f8b08f88b052e0..5d05deedbb917698c1885b936d3258a17e973bcc 100755 (executable)
@@ -4,15 +4,18 @@
 // by James L. Hammons
 //
 
-#include "types.h"
 #include "log.h"
 
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdint.h>
+
 #define MAX_LOG_SIZE           10000000                                // Maximum size of log file (10 MB)
 
 static FILE * log_stream = NULL;
-static uint32 logSize = 0;
+static uint32_t logSize = 0;
 
-bool InitLog(char * path)
+bool InitLog(const char * path)
 {
        log_stream = fopen(path, "wrt");