mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-24 21:45:48 +02:00
newHostVM:
* Applied the new RecompiledCodeReserve to the VIF recompilers (saves another 4-8mb of memory, depending on game). * Fixed a bug in pxsFmt / FastFormatUnicode (string formatting). * Final round of error handling cleanups. (branch is basically ready for re-integration -- needs some testin for obvious/show stopping bugs, thanks!) git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4025 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
@@ -174,7 +174,7 @@ static __ri void format_that_ascii_mess( CharBufferType& buffer, uint writepos,
|
||||
|
||||
len += writepos;
|
||||
if (len < size) break;
|
||||
buffer.Alloc( len + 128 );
|
||||
buffer.Resize( len + 128 );
|
||||
};
|
||||
|
||||
// performing an assertion or log of a truncated string is unsafe, so let's not; even
|
||||
@@ -205,7 +205,7 @@ static __ri uint format_that_unicode_mess( CharBufferType& buffer, uint writepos
|
||||
|
||||
len += writepos;
|
||||
if (len < size) return len;
|
||||
buffer.Alloc( (len + 128) * sizeof(wxChar) );
|
||||
buffer.Resize( (len + 128) * sizeof(wxChar) );
|
||||
};
|
||||
|
||||
// performing an assertion or log of a truncated string is unsafe, so let's not; even
|
||||
|
||||
Reference in New Issue
Block a user