|
@@ -276,7 +276,7 @@ var
|
|
|
{$ifdef cpufpemu}
|
|
|
{ check if floating point emulation is on?
|
|
|
fpu emulation isn't unit levelwise because it affects calling convention }
|
|
|
- if ((headerflags and uf_fpu_emulation)<>0) <>
|
|
|
+ if ((ppufile.header.common.flags and uf_fpu_emulation)<>0) <>
|
|
|
(cs_fp_emulation in current_settings.moduleswitches) then
|
|
|
begin
|
|
|
Message(unit_u_ppu_invalid_fpumode,@queuecomment);
|