mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user