ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/video_vosf.h
(Generate patch)

Comparing BasiliskII/src/Unix/video_vosf.h (file contents):
Revision 1.57 by gbeauche, 2006-05-13T16:48:47Z vs.
Revision 1.58 by gbeauche, 2006-05-14T07:11:23Z

# Line 346 | Line 346 | static void vosf_do_set_dirty_area(uintp
346   {
347          const int first_page = (first - mainBuffer.memStart) >> mainBuffer.pageBits;
348          const int last_page = (last - mainBuffer.memStart) >> mainBuffer.pageBits;
349 <        uint8 *addr = (uint8 *)first;
349 >        uint8 *addr = (uint8 *)(first & -mainBuffer.pageSize);
350          for (int i = first_page; i <= last_page; i++) {
351                  if (PFLAG_ISCLEAR(i)) {
352                          PFLAG_SET(i);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines