1
0
Fork 0

Fixed FPU_ESC #define

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@88
This commit is contained in:
Sjoerd van der Berg 2002-07-28 21:52:31 +00:00
parent 96bfd3d47c
commit 14f0ad8556

View file

@ -19,6 +19,8 @@
#ifndef __FPU_H
#define __FPU_H
#include "mem.h"
void FPU_ESC0_Normal(Bitu rm);
void FPU_ESC0_EA(Bitu func,PhysPt ea);
void FPU_ESC1_Normal(Bitu rm);
@ -36,12 +38,12 @@ void FPU_ESC6_EA(Bitu func,PhysPt ea);
void FPU_ESC7_Normal(Bitu rm);
void FPU_ESC7_EA(Bitu func,PhysPt ea);
#define FPU_ESC(a) { \
#define FPU_ESC(code) { \
Bit8u rm=Fetchb(); \
if (rm>=0xc0) { \
FPU_ESC0_Normal(rm); \
FPU_ESC ## code ## _Normal(rm); \
} else { \
GetEAa;FPU_ESC0_EA(rm,eaa); \
GetEAa;FPU_ESC ## code ## _EA(rm,eaa); \
} \
}