[FREELDR]

Fix broken release version

svn path=/trunk/; revision=50655
This commit is contained in:
Timo Kreuzer 2011-02-10 20:26:41 +00:00
parent 92677eb087
commit dca0c91ecc
2 changed files with 13 additions and 13 deletions

View file

@ -66,19 +66,6 @@ ULONG BaudRate = 115200;
BOOLEAN DebugStartOfLine = TRUE;
// We need to emulate these, because the original ones don't work in freeldr
int __cdecl wctomb(char *mbchar, wchar_t wchar)
{
*mbchar = wchar;
return 1;
}
int __cdecl mbtowc (wchar_t *wchar, const char *mbchar, size_t count)
{
*wchar = *mbchar;
return 1;
}
VOID DebugInit(VOID)
{
if (DebugPort & RS232)

View file

@ -53,3 +53,16 @@ VOID BootMain(LPSTR CmdLine)
#endif
RunLoader();
}
// We need to emulate these, because the original ones don't work in freeldr
int __cdecl wctomb(char *mbchar, wchar_t wchar)
{
*mbchar = wchar;
return 1;
}
int __cdecl mbtowc (wchar_t *wchar, const char *mbchar, size_t count)
{
*wchar = *mbchar;
return 1;
}