| 1 | Upstream: https://github.com/libretro/parallel-n64/issues/671
|
| 2 | |
| 3 | |
| 4 | @@ -91,10 +91,12 @@
|
| 5 |
|
| 6 | ifeq ($(ARCH), $(filter $(ARCH), i386 i686))
|
| 7 | WITH_DYNAREC = x86
|
| 8 | -else ifeq ($(ARCH), $(filter $(ARCH), arm))
|
| 9 | - WITH_DYNAREC = arm
|
| 10 | else ifeq ($(ARCH), $(filter $(ARCH), aarch64))
|
| 11 | WITH_DYNAREC = aarch64
|
| 12 | + CFLAGS += -DARM_FIX
|
| 13 | +else ifneq (, $(findstring arm, $(ARCH)))
|
| 14 | + WITH_DYNAREC = arm
|
| 15 | + CFLAGS += -DARM_FIX
|
| 16 | endif
|
| 17 |
|
| 18 | ifeq ($(HAVE_VULKAN_DEBUG),1)
|
| 19 | |
| 20 | |
| 21 | @@ -1,6 +1,8 @@
|
| 22 | #ifndef M64P_R4300_ASSEM_ARM_H
|
| 23 | #define M64P_R4300_ASSEM_ARM_H
|
| 24 |
|
| 25 | +#include <sys/types.h>
|
| 26 | +
|
| 27 | #define HOST_REGS 13
|
| 28 | #define HOST_CCREG 10
|
| 29 | #define HOST_BTREG 8
|