Windows: reduce size of MBR bootloader by removing unused functions in each build type.

This commit is contained in:
Mounir IDRASSI
2017-07-22 00:30:19 +02:00
parent 0fb2befe3a
commit ff871511af
8 changed files with 36 additions and 77 deletions
+4 -2
View File
@@ -19,17 +19,19 @@
static int ScreenOutputDisabled = 0;
#if defined(TC_TRACE_INT13) || !defined(TC_WINDOWS_BOOT_RESCUE_DISK_MODE)
void DisableScreenOutput ()
{
++ScreenOutputDisabled;
}
#endif
#ifdef TC_TRACE_INT13
void EnableScreenOutput ()
{
--ScreenOutputDisabled;
}
#endif
void PrintChar (char c)
{