mirror of https://github.com/PCSX2/pcsx2.git
common: gcc can't inline a couple of function
=> "can never be inlined because it uses variable argument lists"
This commit is contained in:
parent
b03162747c
commit
149940ffda
|
@ -150,8 +150,11 @@ public:
|
||||||
static bool buffer_is_avail = false;
|
static bool buffer_is_avail = false;
|
||||||
static GlobalBufferManager< BaseTlsVariable< FastFormatBuffers > > m_buffer_tls(buffer_is_avail);
|
static GlobalBufferManager< BaseTlsVariable< FastFormatBuffers > > m_buffer_tls(buffer_is_avail);
|
||||||
|
|
||||||
//static __ri void format_that_ascii_mess( SafeArray<char>& buffer, uint writepos, const char* fmt, va_list argptr )
|
static
|
||||||
static __ri void format_that_ascii_mess( CharBufferType& buffer, uint writepos, const char* fmt, va_list argptr )
|
#ifndef __linux__
|
||||||
|
__ri
|
||||||
|
#endif
|
||||||
|
void format_that_ascii_mess( CharBufferType& buffer, uint writepos, const char* fmt, va_list argptr )
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
while( true )
|
while( true )
|
||||||
|
@ -186,7 +189,11 @@ static __ri void format_that_ascii_mess( CharBufferType& buffer, uint writepos,
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns the length of the formatted string, in characters (wxChars).
|
// returns the length of the formatted string, in characters (wxChars).
|
||||||
static __ri uint format_that_unicode_mess( CharBufferType& buffer, uint writepos, const wxChar* fmt, va_list argptr)
|
static
|
||||||
|
#ifndef __linux__
|
||||||
|
__ri
|
||||||
|
#endif
|
||||||
|
uint format_that_unicode_mess( CharBufferType& buffer, uint writepos, const wxChar* fmt, va_list argptr)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
while( true )
|
while( true )
|
||||||
|
|
Loading…
Reference in New Issue