mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
Do not commit buggy debug code
svn-id: r5800
This commit is contained in:
parent
12d18a55dd
commit
119dcec3d6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user