diff options
| author | pixel <pixel> | 2004-07-16 15:04:52 +0000 | 
|---|---|---|
| committer | pixel <pixel> | 2004-07-16 15:04:52 +0000 | 
| commit | a6611b260721034ec5b50879a26e39d11bc03527 (patch) | |
| tree | 208abf38bbf46dff2470f580d5d8c517c825b9a2 /lib | |
| parent | 734f17aa8fc62e4e49104b35064df7c7619bee89 (diff) | |
Structuring mogltk into PSX-Bundle, and commiting latest changes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/luapsx.cpp | 30 | 
1 files changed, 16 insertions, 14 deletions
| diff --git a/lib/luapsx.cpp b/lib/luapsx.cpp index 0eb1b40..b68d3ab 100644 --- a/lib/luapsx.cpp +++ b/lib/luapsx.cpp @@ -17,7 +17,7 @@   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   */ -/* $Id: luapsx.cpp,v 1.4 2004-05-24 23:18:59 pixel Exp $ */ +/* $Id: luapsx.cpp,v 1.5 2004-07-16 15:04:52 pixel Exp $ */  #include <LuaHandle.h>  #include "luapsx.h" @@ -237,19 +237,21 @@ int sLua_psx::psx_proceed_statics(Lua * L, int n, int caller) {  		L->error("Blitting operation unknown.");  		return 0;  	    } -	     -            if ((sx + sw) < 0)
 -                return;
 -
 -            if (sx >= dw)
 -                return;
 -
 -            if ((sy + sh) < 0)
 -                return;
 -
 -            if (sy >= dh)
 -                return;
 -
 + +#if 0 +            if ((sx + sw) < 0) +                return; + +            if (sx >= dw) +                return; + +            if ((sy + sh) < 0) +                return; + +            if (sy >= dh) +                return; +#endif +  	    if (sy < 0) {  		sstart -= sw * bytes * sy;  		sh += sy; | 
