diff options
author | Filippos Karapetis | 2009-05-14 21:51:36 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-05-14 21:51:36 +0000 |
commit | 61d9a42c56523388dc22c581c63c5ad0615ff750 (patch) | |
tree | e2031c65e72f9f3ac1d21fb6a8e031a4732f84d8 /engines/sci/gfx | |
parent | 7fd6a22d72c926b1af3a569b9ec5f8102ad6db82 (diff) | |
download | scummvm-rg350-61d9a42c56523388dc22c581c63c5ad0615ff750.tar.gz scummvm-rg350-61d9a42c56523388dc22c581c63c5ad0615ff750.tar.bz2 scummvm-rg350-61d9a42c56523388dc22c581c63c5ad0615ff750.zip |
Fixed the detection entry for SQ3 Amiga, and added a special case for cursor hiding in SQ5
svn-id: r40574
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/operations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 29606f5d7f..7977f6db97 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1214,7 +1214,7 @@ int gfxop_set_pointer_view(GfxState *state, int nr, int loop, int cel, Common::P } // Eco Quest 1 uses a 1x1 transparent cursor to hide the cursor from the user. Some scalers don't seem to support this. - if (new_pointer->width < 2 || new_pointer->height < 2) + if (new_pointer->width < 2 || new_pointer->height < 2 || new_pointer->data_size <= 0) return _gfxop_set_pointer(state, NULL, NULL); if (hotspot) |