fixed introduced regs cloning err on later cards

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7172 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-04-06 11:49:00 +00:00
parent 77354258ed
commit 1e54347520

View File

@ -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"));