Fixed the detection entry for SQ3 Amiga, and added a special case for cursor hiding in SQ5

svn-id: r40574
This commit is contained in:
Filippos Karapetis 2009-05-14 21:51:36 +00:00
parent 7fd6a22d72
commit 61d9a42c56
2 changed files with 3 additions and 3 deletions

View File

@ -2554,9 +2554,9 @@ static const struct SciGameDescription SciGameDescriptions[] = {
{"resource.003", 0, "ceeda7202b96e5c85ecaa88a40a540fc", 746496},
{"resource.004", 0, "ceeda7202b96e5c85ecaa88a40a540fc", 761984},
{NULL, 0, NULL, 0}}, Common::EN_ANY, Common::kPlatformAmiga, 0},
0,
GF_FOR_SCI0_BEFORE_502,
SCI_VERSION_0,
SCI_VERSION(0, 000, 685) // TODO: best bet, exe seems packed
SCI_VERSION(0, 000, 453)
},
// Space Quest 3 - German Amiga

View File

@ -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)