Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
lgblgblgb committed Aug 14, 2023
1 parent 7a209db commit 2fc03b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions xemu/emutools.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 :-)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1716,7 +1716,6 @@ int xemu_os_readdir ( DIR *dirp, char *fn, const int fnmaxsize )
}



/* -------------------------- SHA1 checksumming -------------------------- */


Expand Down
2 changes: 1 addition & 1 deletion xemu/emutools.h
Original file line number Diff line number Diff line change
@@ -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) <[email protected]>
Copyright (C)2016-2023 LGB (Gábor Lénárt) <[email protected]>
The goal of emutools.c is to provide a relative simple solution
for relative simple emulators using SDL2.
Expand Down

0 comments on commit 2fc03b5

Please sign in to comment.