aboutsummaryrefslogtreecommitdiff
path: root/backends/wince
diff options
context:
space:
mode:
authorNicolas Bacca2002-12-01 23:28:11 +0000
committerNicolas Bacca2002-12-01 23:28:11 +0000
commit119dcec3d619d2cf763dc91dba6e7ad6ff23aea6 (patch)
tree6046330f2690eea51cf5816fed143e56585083ed /backends/wince
parent12d18a55dd0e6f093e582e15a8ed50549a3b1078 (diff)
downloadscummvm-rg350-119dcec3d619d2cf763dc91dba6e7ad6ff23aea6.tar.gz
scummvm-rg350-119dcec3d619d2cf763dc91dba6e7ad6ff23aea6.tar.bz2
scummvm-rg350-119dcec3d619d2cf763dc91dba6e7ad6ff23aea6.zip
Do not commit buggy debug code
svn-id: r5800
Diffstat (limited to 'backends/wince')
-rw-r--r--backends/wince/screen.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/backends/wince/screen.cpp b/backends/wince/screen.cpp
index 98df430e4a..67bd276035 100644
--- a/backends/wince/screen.cpp
+++ b/backends/wince/screen.cpp
@@ -863,19 +863,12 @@ void Blt(UBYTE * scr_ptr)
void Blt_part(UBYTE * src_ptr, int x, int y, int width, int height, int pitch, bool check) {
- if (check && (y > _geometry_h || (y + height) > _geometry_h))
- return;
-
if (toolbar_available && !toolbar_drawn && !hide_toolbar)
drawAllToolbar();
pBlt_part(src_ptr, x, y, width, height, NULL, pitch);
if (check && (y > _geometry_h || (y + height) > _geometry_h)) {
- char message[100];
- sprintf(message, "Override geometry : h %d y %d height %d", _geometry_h, y, height);
- drawError(message);
- exit(1);
toolbar_drawn = false;
}