mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[FREELDR]
Fix broken release version svn path=/trunk/; revision=50655
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user