[Scummvm-cvs-logs] SF.net SVN: scummvm:[36076] scummvm/trunk/engines/scumm/proc3ARM.s

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Mon Jan 26 18:38:00 CET 2009


Revision: 36076
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36076&view=rev
Author:   wjpalenstijn
Date:     2009-01-26 17:37:59 +0000 (Mon, 26 Jan 2009)

Log Message:
-----------
made fix from r36039 more efficient

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/proc3ARM.s

Modified: scummvm/trunk/engines/scumm/proc3ARM.s
===================================================================
--- scummvm/trunk/engines/scumm/proc3ARM.s	2009-01-26 16:45:21 UTC (rev 36075)
+++ scummvm/trunk/engines/scumm/proc3ARM.s	2009-01-26 17:37:59 UTC (rev 36076)
@@ -181,6 +181,7 @@
        	BICS	r14,r14,r1,LSL r5	@ r14= len
        	LDREQB	r14,[r11],#1		@ if (!len)  r14 = len = *src++
 	STR	r11,[r13,#src]
+	CMP	r14,#0
 middleloop:
 	@ r0 = _scaleY
 	@ r1 = color
@@ -198,7 +199,6 @@
 	@ r14= len
 
 	MOV	r5,r12		@ loopCount = height
-	CMP	r14,#0
 	CMPNE	r5,r14		@ if (len != 0 && loopCount > len)
 	MOVGT	r5,r14		@	loopCount = len
 	SUB	r12,r12,r5	@ height -= loopCount


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