diff options
author | Einar Johan Trøan Sømåen | 2012-07-30 19:41:44 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-30 19:41:44 +0200 |
commit | 43611724441e880b7283ae195d40f5e63aa6affd (patch) | |
tree | c2eae21a19c8472321d1454a61e4f19a34054a80 /engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | |
parent | 85ce9340bcb425a6c5e8dbcacff5a7fa2fb4c817 (diff) | |
download | scummvm-rg350-43611724441e880b7283ae195d40f5e63aa6affd.tar.gz scummvm-rg350-43611724441e880b7283ae195d40f5e63aa6affd.tar.bz2 scummvm-rg350-43611724441e880b7283ae195d40f5e63aa6affd.zip |
WINTERMUTE: Redraw ONLY the indicator when saving/loading.
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_render_osystem.cpp')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp index fa0663dc65..bc952b0b36 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp @@ -185,7 +185,12 @@ void BaseRenderOSystem::setColorMod(byte r, byte g, byte b) { _colorMod = BS_ARGB(alpha, r, g, b);
}
-//////////////////////////////////////////////////////////////////////////
+bool BaseRenderOSystem::indicatorFlip() {
+ g_system->copyRectToScreen((byte *)_renderSurface->getBasePtr(_indicatorX, _indicatorY), _renderSurface->pitch, _indicatorX, _indicatorY, _indicatorWidthDrawn, _indicatorHeight);
+ g_system->updateScreen();
+ return STATUS_OK;
+}
+
bool BaseRenderOSystem::flip() {
if (!_disableDirtyRects) {
drawTickets();
|