mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:06:18 +02:00
+ color segment register
git-svn-id: trunk@24579 -
This commit is contained in:
parent
035cb74855
commit
b85addb451
@ -1832,6 +1832,18 @@ unit rgobj;
|
|||||||
{$endif}
|
{$endif}
|
||||||
setsupreg(index,reginfo[u].colour);
|
setsupreg(index,reginfo[u].colour);
|
||||||
end;
|
end;
|
||||||
|
{$if defined(x86) or defined(m68k)}
|
||||||
|
if (segment<>NR_NO) and
|
||||||
|
(getregtype(segment)=regtype) then
|
||||||
|
begin
|
||||||
|
u:=getsupreg(segment);
|
||||||
|
{$ifdef EXTDEBUG}
|
||||||
|
if (u>=maxreginfo) then
|
||||||
|
internalerror(2013052401);
|
||||||
|
{$endif}
|
||||||
|
setsupreg(segment,reginfo[u].colour);
|
||||||
|
end;
|
||||||
|
{$endif defined(x86) or defined(m68k)}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
{$ifdef arm}
|
{$ifdef arm}
|
||||||
|
Loading…
Reference in New Issue
Block a user