Increase limits a bit more for people who want to use that.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4317
This commit is contained in:
parent
2dec4d0a11
commit
ae80176bbb
1 changed files with 13 additions and 0 deletions
|
@ -77,6 +77,9 @@ static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) {
|
|||
#if (SCALERHEIGHT > 3)
|
||||
PTYPE *line3 = WC[2];
|
||||
#endif
|
||||
#if (SCALERHEIGHT > 4)
|
||||
PTYPE *line4 = WC[3];
|
||||
#endif
|
||||
#else
|
||||
#if (SCALERHEIGHT > 1)
|
||||
PTYPE *line1 = (PTYPE *)(((Bit8u*)line0)+ render.scale.outPitch);
|
||||
|
@ -87,6 +90,9 @@ static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) {
|
|||
#if (SCALERHEIGHT > 3)
|
||||
PTYPE *line3 = (PTYPE *)(((Bit8u*)line0)+ render.scale.outPitch * 3);
|
||||
#endif
|
||||
#if (SCALERHEIGHT > 4)
|
||||
PTYPE *line4 = (PTYPE *)(((Bit8u*)line0)+ render.scale.outPitch * 4);
|
||||
#endif
|
||||
#endif //defined(SCALERLINEAR)
|
||||
hadChange = 1;
|
||||
for (Bitu i = x > 32 ? 32 : x;i>0;i--,x--) {
|
||||
|
@ -104,6 +110,9 @@ static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) {
|
|||
#endif
|
||||
#if (SCALERHEIGHT > 3)
|
||||
line3 += SCALERWIDTH;
|
||||
#endif
|
||||
#if (SCALERHEIGHT > 4)
|
||||
line4 += SCALERWIDTH;
|
||||
#endif
|
||||
}
|
||||
#if defined(SCALERLINEAR)
|
||||
|
@ -117,6 +126,10 @@ static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) {
|
|||
#if (SCALERHEIGHT > 3)
|
||||
BituMove(((Bit8u*)line0)-copyLen+render.scale.outPitch*3,WC[2], copyLen );
|
||||
#endif
|
||||
#if (SCALERHEIGHT > 4)
|
||||
BituMove(((Bit8u*)line0)-copyLen+render.scale.outPitch*4,WC[3], copyLen );
|
||||
#endif
|
||||
|
||||
#endif //defined(SCALERLINEAR)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue