From 54a69aec4477d8e2cf39234b6ec2a4d11d11abd1 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Tue, 27 Jul 2004 10:09:45 +0000 Subject: [PATCH] removed 'bug' in MagicMedia acc git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8483 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/neomagic/engine/nm_acc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/accelerants/neomagic/engine/nm_acc.c b/src/add-ons/accelerants/neomagic/engine/nm_acc.c index 06f7646b59..ba89aab87f 100644 --- a/src/add-ons/accelerants/neomagic/engine/nm_acc.c +++ b/src/add-ons/accelerants/neomagic/engine/nm_acc.c @@ -202,7 +202,7 @@ status_t nm_acc_blit(uint16 xs,uint16 ys,uint16 xd,uint16 yd,uint16 w,uint16 h) default: /* NM2200 and later */ /* use ROP GXcopy (b16-19), and use linear adressing system */ //fixme? it seems CONTROL nolonger needs direction, and can be pgm'd just once... - ACCW(CONTROL, (si->engine.control | 0x800c0000)); + ACCW(CONTROL, (/*si->engine.control |*/ 0x800c0000)); /* send command and exexute (warning: order of programming regs is important!) */ ACCW(SRCSTARTOFF, ((ys * si->fbc.bytes_per_row) + (xs * si->engine.depth))); ACCW(2090_DSTSTARTOFF, ((yd * si->fbc.bytes_per_row) + (xd * si->engine.depth))); @@ -235,7 +235,7 @@ status_t nm_acc_blit(uint16 xs,uint16 ys,uint16 xd,uint16 yd,uint16 w,uint16 h) default: /* NM2200 and later */ /* use ROP GXcopy (b16-19), and use linear adressing system */ //fixme? it seems CONTROL nolonger needs direction, and can be pgm'd just once... - ACCW(CONTROL, (si->engine.control | 0x800c0013)); + ACCW(CONTROL, (/*si->engine.control |*/ 0x800c0013)); /* send command and exexute (warning: order of programming regs is important!) */ ACCW(SRCSTARTOFF, (((ys + h) * si->fbc.bytes_per_row) + ((xs + w) * si->engine.depth))); ACCW(2090_DSTSTARTOFF, (((yd + h) * si->fbc.bytes_per_row) + ((xd + w) * si->engine.depth)));