mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-25 05:55:47 +02:00
* Move the GIF register handlers from dmac to hwRead/hwWrite (like the VIF registers they aren't actually DMA-related).
* Minor cleanups to trace logging and FastFormat string stuff. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3724 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
@@ -63,7 +63,7 @@ public:
|
||||
{
|
||||
m_buffers[i].Name = wxsFormat(L"%s Formatting Buffer (slot%d)",
|
||||
(sizeof(CharType)==1) ? L"Ascii" : L"Unicode", i);
|
||||
m_buffers[i].MakeRoomFor(512);
|
||||
m_buffers[i].MakeRoomFor(1024);
|
||||
m_buffers[i].ChunkSize = 2048;
|
||||
}
|
||||
|
||||
@@ -266,6 +266,10 @@ FastFormatUnicode& FastFormatUnicode::Write( const wxChar* fmt, ... )
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool FastFormatUnicode::IsEmpty() const
|
||||
{
|
||||
return ((wxChar&)(*m_dest)[0]) == 0;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// FastFormatAscii (implementations)
|
||||
@@ -309,3 +313,8 @@ FastFormatAscii& FastFormatAscii::Write( const char* fmt, ... )
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
bool FastFormatAscii::IsEmpty() const
|
||||
{
|
||||
return (*m_dest)[0] == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user