aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorTravis Howell2009-03-15 09:39:16 +0000
committerTravis Howell2009-03-15 09:39:16 +0000
commite27d2f71448c1978e3be115cca3ef84a930a0dce (patch)
tree531c657503bdec2f98bca9e9d972dc5eaa31ce07 /engines/parallaction
parent7f99a190cbc82ae05d1a4ab6cd6227144c417f85 (diff)
downloadscummvm-rg350-e27d2f71448c1978e3be115cca3ef84a930a0dce.tar.gz
scummvm-rg350-e27d2f71448c1978e3be115cca3ef84a930a0dce.tar.bz2
scummvm-rg350-e27d2f71448c1978e3be115cca3ef84a930a0dce.zip
Set mouse buffers in Amiga version of BRA, so selecting inventory object no longer crashes.
svn-id: r39414
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/input.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/parallaction/input.cpp b/engines/parallaction/input.cpp
index a681660ce0..24e92fa3f2 100644
--- a/engines/parallaction/input.cpp
+++ b/engines/parallaction/input.cpp
@@ -472,7 +472,13 @@ void Input::initCursors() {
_mouseArrow = _donnaCursor;
} else {
// TODO: Where are the Amiga cursors?
- _mouseArrow = 0;
+ Graphics::Surface *surf1 = new Graphics::Surface;
+ surf1->create(_mouseComboProps_BR._width, _mouseComboProps_BR._height, 1);
+ _comboArrow = new SurfaceToFrames(surf1);
+
+ Graphics::Surface *surf2 = new Graphics::Surface;
+ surf2->create(_mouseComboProps_BR._width, _mouseComboProps_BR._height, 1);
+ _mouseArrow = new SurfaceToFrames(surf2);
}
break;