1
0
Fork 0

keep OSX gcc happy

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2749
This commit is contained in:
Sebastian Strohhäcker 2007-01-10 21:41:00 +00:00
parent 6e5b843ebc
commit 293fc7679f

View file

@ -242,7 +242,7 @@ static void dyn_restoreregister(DynReg * src_reg, DynReg * dst_reg) {
#define DH_FPU_SAVE_REINIT \
{ \
__asm__ volatile ( \
"fnsave (%0) \n" \
"fnsave %0 \n" \
: \
: "m" (dyn_dh_fpu.state[0]) \
: "memory" \
@ -430,8 +430,8 @@ void CPU_Core_Dyn_X86_Init(void) {
#else
__asm__ volatile (
"finit \n"
"fsave (%0) \n"
"fstcw (%1) \n"
"fsave %0 \n"
"fstcw %1 \n"
:
: "m" (dyn_dh_fpu.state[0]), "m" (dyn_dh_fpu.host_cw)
: "memory"