1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/emulators/dosbox/files/patch-src-fpu-fpu_instructions_x86.h
Alex Kozlov 69d833029a - Fix build with clang on i386 [1]
- Support STAGEDIR
- Convert to new LIB_DEPENDS syntax
- Add LICENSE

PR:	ports/183213 [1]
Submitted by:	Tom Carrick <knyght@gmail.com> (maintainer) [1]
2013-10-23 22:15:15 +00:00

25 lines
589 B
C

Index: src/fpu/fpu_instructions_x86.h
@@ -1162,12 +1162,12 @@
static void FPU_FLD_I16(PhysPt addr,Bitu store_to) {
fpu.p_regs[8].m1 = (Bit32u)mem_readw(addr);
- FPUD_LOAD(fild,WORD,)
+ FPUD_LOAD(fild,WORD,s)
}
static void FPU_FLD_I16_EA(PhysPt addr) {
fpu.p_regs[8].m1 = (Bit32u)mem_readw(addr);
- FPUD_LOAD_EA(fild,WORD,)
+ FPUD_LOAD_EA(fild,WORD,s)
}
static void FPU_FLD_I32(PhysPt addr,Bitu store_to) {
@@ -1212,7 +1212,7 @@
}
static void FPU_FST_I16(PhysPt addr) {
- FPUD_STORE(fistp,WORD,)
+ FPUD_STORE(fistp,WORD,s)
mem_writew(addr,(Bit16u)fpu.p_regs[8].m1);
}