Disable MMX emulation if FPU emulation is disabled, since MMX registers are just aliases of the FPU registers, to avoid compile fail [https://github.com/joncampbell123/dosbox-x/issues/1388]

This commit is contained in:
Jonathan Campbell
2020-02-23 19:28:24 -08:00
parent aa249340f7
commit 1c3e1bf6db
3 changed files with 11 additions and 1 deletions

View File

@@ -19,6 +19,8 @@
#ifndef DOSBOX_MMX_H
#define DOSBOX_MMX_H
#if C_FPU
typedef union {
Bit64u q;
@@ -86,4 +88,6 @@ Bit16u SaturateDwordSToWordU(Bit32s value);
void setFPU(Bit16u tag);
#endif
#endif
#endif