m68k: plain 68000 also needs extra handling for large offsets

git-svn-id: trunk@28423 -
This commit is contained in:
Károly Balogh 2014-08-16 15:14:34 +00:00
parent 9b0bf91076
commit ccc9bc0941

View File

@ -60,7 +60,7 @@ unit rgcpu;
helplist : tasmlist;
hreg : tregister;
begin
if (abs(spilltemp.offset)>32767) and (current_settings.cputype in cpu_coldfire) then
if (abs(spilltemp.offset)>32767) and (current_settings.cputype in (cpu_coldfire + [cpu_mc68000])) then
begin
helplist:=tasmlist.create;
@ -92,7 +92,7 @@ unit rgcpu;
helplist : tasmlist;
hreg : tregister;
begin
if (abs(spilltemp.offset)>32767) and (current_settings.cputype in cpu_coldfire) then
if (abs(spilltemp.offset)>32767) and (current_settings.cputype in (cpu_coldfire + [cpu_mc68000])) then
begin
helplist:=tasmlist.create;