aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2008-01-02 18:44:20 +0000
committerEugene Sandulenko2008-01-02 18:44:20 +0000
commit2d94049bead04ae42d4051ec855fbcb2bda645ee (patch)
tree6e86ea60bc622803f9df4ec255d00ae75d9e0112 /engines/scumm/scumm.cpp
parent4e7fe0275128ebde8a4d7a3a8c2ffe662558678a (diff)
downloadscummvm-rg350-2d94049bead04ae42d4051ec855fbcb2bda645ee.tar.gz
scummvm-rg350-2d94049bead04ae42d4051ec855fbcb2bda645ee.tar.bz2
scummvm-rg350-2d94049bead04ae42d4051ec855fbcb2bda645ee.zip
Workaround for bug #1804278: "MONKEY: Mouse is invisible after loading"
svn-id: r30160
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp32
1 files changed, 1 insertions, 31 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 2460c24fbc..bc907c0520 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -602,37 +602,7 @@ ScummEngine::~ScummEngine() {
ScummEngine_v5::ScummEngine_v5(OSystem *syst, const DetectorResult &dr)
: ScummEngine(syst, dr) {
- // All "classic" games (V5 and older) encrypted their data files
- // with exception of the GF_OLD256 games and the PC-Engine version
- // of Loom.
- if (!(_game.features & GF_OLD256) && _game.platform != Common::kPlatformPCEngine)
- _game.features |= GF_USE_KEY;
-
- static const uint16 default_cursor_images[4][16] = {
- /* cross-hair */
- { 0x0080, 0x0080, 0x0080, 0x0080, 0x0080, 0x0080, 0x0000, 0x7e3f,
- 0x0000, 0x0080, 0x0080, 0x0080, 0x0080, 0x0080, 0x0080, 0x0000 },
- /* hourglass */
- { 0x0000, 0x7ffe, 0x6006, 0x300c, 0x1818, 0x0c30, 0x0660, 0x03c0,
- 0x0660, 0x0c30, 0x1998, 0x33cc, 0x67e6, 0x7ffe, 0x0000, 0x0000 },
- /* arrow */
- { 0x0000, 0x4000, 0x6000, 0x7000, 0x7800, 0x7c00, 0x7e00, 0x7f00,
- 0x7f80, 0x78c0, 0x7c00, 0x4600, 0x0600, 0x0300, 0x0300, 0x0180 },
- /* hand */
- { 0x1e00, 0x1200, 0x1200, 0x1200, 0x1200, 0x13ff, 0x1249, 0x1249,
- 0xf249, 0x9001, 0x9001, 0x9001, 0x8001, 0x8001, 0x8001, 0xffff },
- };
-
- static const byte default_cursor_hotspots[10] = {
- 8, 7, 8, 7, 1, 1, 5, 0,
- 8, 7, //zak256
- };
-
-
- for (int i = 0; i < 4; i++) {
- memcpy(_cursorImages[i], default_cursor_images[i], 32);
- }
- memcpy(_cursorHotspots, default_cursor_hotspots, 8);
+ resetCursors();
// Setup flashlight
memset(&_flashlight, 0, sizeof(_flashlight));