Fixed FPU_ESC #define
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@88
This commit is contained in:
parent
96bfd3d47c
commit
14f0ad8556
1 changed files with 5 additions and 3 deletions
|
@ -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); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue