mirror of https://github.com/PCSX2/pcsx2.git
Common: Don't forceinline vararg functions
No compiler actually inlines them, and GCC issues an error saying that it can't force inline vararg functions
This commit is contained in:
parent
52ddb0efd9
commit
5271e83824
|
@ -132,10 +132,10 @@ struct ConsoleLogWriter
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
__fi static void Error(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_StrongRed); }
|
static void Error(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_StrongRed); }
|
||||||
__fi static void Warning(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_StrongOrange); }
|
static void Warning(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_StrongOrange); }
|
||||||
__fi static void WriteLn(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_Default); }
|
static void WriteLn(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_Default); }
|
||||||
__fi static void WriteLn(ConsoleColors color, const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(color); }
|
static void WriteLn(ConsoleColors color, const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(color); }
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
#undef MAKE_PRINTF_CONSOLE_WRITER
|
#undef MAKE_PRINTF_CONSOLE_WRITER
|
||||||
|
|
Loading…
Reference in New Issue