diff --git a/xemu/emutools.c b/xemu/emutools.c index f7987400..01cbda92 100644 --- a/xemu/emutools.c +++ b/xemu/emutools.c @@ -899,7 +899,7 @@ void xemu_pre_init ( const char *app_organization, const char *app_name, const c } else DEBUGPRINT("WINDOWS: UTF-8 filenames ARE supported, cool!" NL); if (!p != (GetACP() == 65001U)) - ERROR_WINDOW("Mismatch between Windows UTF8 checks!\nPlease report the problem!"); + ERROR_WINDOW("Mismatch between Windows UTF8 checks!\nPlease report the problem!\nCP=%u, p=%s", GetACP(), p ? p : "NULL"); #endif #ifdef XEMU_CONFIGDB_SUPPORT // If configDB support is compiled in, we can define some common options, should apply for ALL emulators. @@ -1498,7 +1498,6 @@ int _sdl_emu_secured_modal_box_ ( const char *items_in, const char *msg ) } - /* Note, Windows has some braindead idea about console, ie even the standard stdout/stderr/stdin does not work with a GUI application. We have to dance a bit, to fool Windows to do what is SHOULD according the standard to be used by every other operating systems. Ehhh, Microsoft, please, get some real designers and programmers :-) @@ -1531,6 +1530,7 @@ static int redirect_stdfp ( const DWORD handle_const, FILE *std, const char *mod } #endif + void sysconsole_open ( void ) { #ifdef XEMU_ARCH_WIN @@ -1716,7 +1716,6 @@ int xemu_os_readdir ( DIR *dirp, char *fn, const int fnmaxsize ) } - /* -------------------------- SHA1 checksumming -------------------------- */ diff --git a/xemu/emutools.h b/xemu/emutools.h index 8edddf4c..fe003f5b 100644 --- a/xemu/emutools.h +++ b/xemu/emutools.h @@ -1,6 +1,6 @@ /* Xemu - emulation (running on Linux/Unix/Windows/OSX, utilizing SDL2) of some 8 bit machines, including the Commodore LCD and Commodore 65 and MEGA65 as well. - Copyright (C)2016-2022 LGB (Gábor Lénárt) + Copyright (C)2016-2023 LGB (Gábor Lénárt) The goal of emutools.c is to provide a relative simple solution for relative simple emulators using SDL2.