[Scummvm-cvs-logs] SF.net SVN: scummvm:[47238] scummvm/trunk/backends/platform/n64/portdefs.h

Hkz at users.sourceforge.net Hkz at users.sourceforge.net
Sun Jan 10 23:30:12 CET 2010


Revision: 47238
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47238&view=rev
Author:   Hkz
Date:     2010-01-10 22:30:12 +0000 (Sun, 10 Jan 2010)

Log Message:
-----------
Nintendo64: use newlines when printing assert messages, to avoid wrapping

Modified Paths:
--------------
    scummvm/trunk/backends/platform/n64/portdefs.h

Modified: scummvm/trunk/backends/platform/n64/portdefs.h
===================================================================
--- scummvm/trunk/backends/platform/n64/portdefs.h	2010-01-10 21:13:38 UTC (rev 47237)
+++ scummvm/trunk/backends/platform/n64/portdefs.h	2010-01-10 22:30:12 UTC (rev 47238)
@@ -36,7 +36,7 @@
 #include <math.h>
 
 #undef assert
-#define assert(x)  ((x) ? 0 : (print_error("["#x"] (%s:%d)", __FILE__, __LINE__)))
+#define assert(x)  ((x) ? 0 : (print_error("ASSERT TRIGGERED:\n["#x"]\n(%s:%d)", __FILE__, __LINE__)))
 
 #endif
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list