x87: Fix the rounding_modes warnings.

This commit is contained in:
OBattler
2025-06-30 00:17:33 +02:00
parent f29675e5d4
commit e601f25805

View File

@@ -52,7 +52,9 @@ extern void fpu_log(const char *fmt, ...);
extern double exp_pow_table[0x800];
#ifndef X87_INLINE_ASM
static int rounding_modes[4] = { FE_TONEAREST, FE_DOWNWARD, FE_UPWARD, FE_TOWARDZERO };
#endif
#define ST(x) cpu_state.ST[((cpu_state.TOP + (x)) & 7)]