mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 20:19:44 +00:00
bitblt fix (aka Solaris display fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1150 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c72a345f5b
commit
c9c0eae84e
@ -737,7 +737,8 @@ static int cirrus_bitblt_cputovideo(CirrusVGAState * s)
|
||||
else
|
||||
s->cirrus_blt_srcpitch = ((w + 7) >> 3);
|
||||
} else {
|
||||
s->cirrus_blt_srcpitch = s->cirrus_blt_width;
|
||||
/* always align input size to 32 bits */
|
||||
s->cirrus_blt_srcpitch = (s->cirrus_blt_width + 3) & ~3;
|
||||
}
|
||||
s->cirrus_srccounter = s->cirrus_blt_srcpitch * s->cirrus_blt_height;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user