From 1e54347520216ca138e0de5bbeded263880db9bc Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Tue, 6 Apr 2004 11:49:00 +0000 Subject: [PATCH] fixed introduced regs cloning err on later cards git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7172 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/neomagic/InitAccelerant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/accelerants/neomagic/InitAccelerant.c b/src/add-ons/accelerants/neomagic/InitAccelerant.c index 4d1bb7497e..a47b422fb2 100644 --- a/src/add-ons/accelerants/neomagic/InitAccelerant.c +++ b/src/add-ons/accelerants/neomagic/InitAccelerant.c @@ -42,7 +42,7 @@ static status_t init_common(int the_fd) { si->settings.logmask, si->settings.memory, si->settings.hardcursor, si->settings.usebios)); /* clone register area(s) */ - if (si->ps.card_type < NM2097) + if (si->regs_in_fb) { /* we can't clone as no register area exists! */ LOG(2,("InitACC: Can't clone register area, integrated in framebuffer!\n"));