mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 07:14:59 +00:00
MOHAWK: Fix a typo fail (thanks, fuzzie)
svn-id: r54419
This commit is contained in:
parent
cb843daec0
commit
26bf0e8176
@ -800,12 +800,12 @@ Graphics::Surface *LBGraphics::decodeImage(uint16 id) {
|
||||
return surface;
|
||||
}
|
||||
|
||||
void LBGraphics::copyImageToScreen(uint16 image, uint16 left, uint16 right) {
|
||||
void LBGraphics::copyImageToScreen(uint16 image, uint16 left, uint16 top) {
|
||||
Graphics::Surface *surface = findImage(image);
|
||||
|
||||
uint16 width = MIN<int>(surface->w, _vm->_system->getWidth());
|
||||
uint16 height = MIN<int>(surface->h, _vm->_system->getHeight());
|
||||
_vm->_system->copyRectToScreen((byte *)surface->pixels, surface->pitch, left, right, width, height);
|
||||
_vm->_system->copyRectToScreen((byte *)surface->pixels, surface->pitch, left, top, width, height);
|
||||
|
||||
// FIXME: Remove this and update only when necessary
|
||||
_vm->_system->updateScreen();
|
||||
|
Loading…
x
Reference in New Issue
Block a user