mirror of https://github.com/stella-emu/stella.git
Some minor changes to line widths in software mode.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@388 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
8d67d0c760
commit
088210251e
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: FrameBufferSoft.cxx,v 1.14 2005-03-28 00:04:53 stephena Exp $
|
// $Id: FrameBufferSoft.cxx,v 1.15 2005-03-28 20:36:39 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
@ -335,8 +335,8 @@ void FrameBufferSoft::hLine(uInt32 x, uInt32 y, uInt32 x2, OverlayColor color)
|
||||||
// Horizontal line
|
// Horizontal line
|
||||||
tmp.x = x * theZoomLevel;
|
tmp.x = x * theZoomLevel;
|
||||||
tmp.y = y * theZoomLevel;
|
tmp.y = y * theZoomLevel;
|
||||||
tmp.w = (x2 - x + 1) * theZoomLevel;
|
tmp.w = (x2 - x) * theZoomLevel;
|
||||||
tmp.h = theZoomLevel;
|
tmp.h = 2;//theZoomLevel;
|
||||||
SDL_FillRect(myScreen, &tmp, myGUIPalette[color]);
|
SDL_FillRect(myScreen, &tmp, myGUIPalette[color]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -348,8 +348,8 @@ void FrameBufferSoft::vLine(uInt32 x, uInt32 y, uInt32 y2, OverlayColor color)
|
||||||
// Vertical line
|
// Vertical line
|
||||||
tmp.x = x * theZoomLevel;
|
tmp.x = x * theZoomLevel;
|
||||||
tmp.y = y * theZoomLevel;
|
tmp.y = y * theZoomLevel;
|
||||||
tmp.w = theZoomLevel;
|
tmp.w = 2;//theZoomLevel;
|
||||||
tmp.h = (y2 - y + 1) * theZoomLevel;
|
tmp.h = (y2 - y) * theZoomLevel;
|
||||||
SDL_FillRect(myScreen, &tmp, myGUIPalette[color]);
|
SDL_FillRect(myScreen, &tmp, myGUIPalette[color]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue