From e76d30243e48cc99cb5e5a92667a66617e2c6f4c Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 7 Mar 2016 19:34:44 +0100 Subject: Removed I64FMT and SIZETFMT, one usage left in chdman.cpp (nw) --- src/osd/windows/window.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/osd/windows/window.cpp') diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp index 52d0a898df7..326e8248bab 100644 --- a/src/osd/windows/window.cpp +++ b/src/osd/windows/window.cpp @@ -12,7 +12,6 @@ // Needed for RAW Input #define WM_INPUT 0x00FF -#include // must be here otherwise issues with I64FMT in MINGW // standard C headers #include @@ -152,7 +151,7 @@ static void mtlog_dump(void) for (i = 0; i < mtlogindex; i++) { osd_ticks_t curr = mtlog[i].timestamp * 1000000 / cps; - fprintf(f, "%20" I64FMT "d %10" I64FMT "d %s\n", (UINT64)curr, (UINT64)(curr - last), mtlog[i].event); + fprintf(f, "%s",string_format("%20I64d %10I64d %s\n", (UINT64)curr, (UINT64)(curr - last), mtlog[i].event).c_str()); last = curr; } fclose(f); @@ -174,7 +173,7 @@ bool windows_osd_interface::window_init() size_t temp; // determine if we are using multithreading or not - multithreading_enabled = downcast(machine().options()).multithreading(); + multithreading_enabled = false;//downcast(machine().options()).multithreading(); // get the main thread ID before anything else main_threadid = GetCurrentThreadId(); -- cgit v1.2.3-70-g09d2