mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Fixed typo and added FIXME comment for the DotMatrix scaler.
svn-id: r10956
This commit is contained in:
parent
dc2dd831e9
commit
27b22efe17
@ -50,7 +50,7 @@ void InitScalers(uint32 BitFormat) {
|
||||
} else if (BitFormat == 555) {
|
||||
dotmatrix = dotmatrix_555;
|
||||
} else {
|
||||
error("Unknwon bit format %d\n", BitFormat);
|
||||
error("Unknown bit format %d\n", BitFormat);
|
||||
}
|
||||
|
||||
gBitFormat = BitFormat;
|
||||
@ -264,6 +264,12 @@ static inline uint16 DOT_16(uint16 c, int j, int i) {
|
||||
return c - ((c >> 2) & *(dotmatrix + ((j & 3) << 2) + (i & 3)));
|
||||
}
|
||||
|
||||
// FIXME: This scaler doesn't quite work. Either it needs to know where on the
|
||||
// screen it's drawing, or the dirty rects will have to be adjusted so that
|
||||
// access to the dotmatrix array are made in a consistent way. (Doing that in
|
||||
// a way that also works together with aspect-ratio correction is left as an
|
||||
// exercise for the reader.)
|
||||
|
||||
void DotMatrix(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
|
||||
int width, int height)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user