From c48888c5e50af48ecc0674d0201116d781d8d8d2 Mon Sep 17 00:00:00 2001 From: Pierce Andjelkovic Date: Thu, 29 Jul 2021 07:28:29 +1000 Subject: [PATCH] Add in bit length check --- ppsspp_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppsspp_config.h b/ppsspp_config.h index fcb3f06038..0c4e2b9c1d 100644 --- a/ppsspp_config.h +++ b/ppsspp_config.h @@ -64,7 +64,7 @@ #define PPSSPP_ARCH_32BIT 1 #endif -#if defined(__riscv) +#if defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64 #define PPSSPP_ARCH_RISCV64 1 #define PPSSPP_ARCH_64BIT 1 #endif