[Scummvm-cvs-logs] scummvm master -> b1ec9280fd757184ce8262d3f25b3cf75fed19ec

somaen einarjohan at somadalen.com
Sat Sep 15 18:06:15 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b1ec9280fd WINTERMUTE: Disable aspect-ratio correction for now.


Commit: b1ec9280fd757184ce8262d3f25b3cf75fed19ec
    https://github.com/scummvm/scummvm/commit/b1ec9280fd757184ce8262d3f25b3cf75fed19ec
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2012-09-15T09:05:18-07:00

Commit Message:
WINTERMUTE: Disable aspect-ratio correction for now.

Changed paths:
    engines/wintermute/base/gfx/osystem/base_render_osystem.cpp



diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
index 6d67253..03ec827 100644
--- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
@@ -573,6 +573,11 @@ Rect32 BaseRenderOSystem::getViewPort() {
 
 //////////////////////////////////////////////////////////////////////////
 void BaseRenderOSystem::modTargetRect(Common::Rect *rect) {
+	// FIXME: This is wrong in quite a few ways right now, and ends up
+	// breaking the notebook in Dirty Split, so we disable the correction
+	// for now, this will need fixing when a game with odd aspect-ratios
+	// show up.
+	return;
 	rect->left = (int16)MathUtil::round(rect->left * _ratioX + _borderLeft - _renderRect.left);
 	rect->top = (int16)MathUtil::round(rect->top * _ratioY + _borderTop - _renderRect.top);
 	rect->setWidth((int16)MathUtil::roundUp(rect->width() * _ratioX));






More information about the Scummvm-git-logs mailing list