* 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:
Jake.Stine
2010-09-04 14:11:50 +00:00
parent 147e4b8409
commit 46b89abb72
9 changed files with 82 additions and 103 deletions
+10 -1
View File
@@ -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;
}