PSP(and Emscripten) rthread disable
@@ -823,7 +823,14 @@ endif
DEFINES = -D__LIBRETRO__ $(PLATFORM_DEFINES) $(GCC_FLAGS) $(GCC_WARNINGS) $(GCC_SECURITY_FLAGS) -DNST_NO_ZLIB $(INCFLAGS) $(INCFLAGS_PLATFORM) -DCPUCORE_IA32 -DSUPPORT_PC9821 -DUSE_FPU -DSUPPORT_LARGE_HDD -DSUPPORT_VPCVHD -DSUPPORT_KAI_IMAGES -DHOOK_SYSKEY -DALLOW_MULTIRUN -DSUPPORT_WAB -DSUPPORT_LARGE_MEMORY -DSUPPORT_CL_GD5430 -DUSE_MAME -DSUPPORT_FMGEN -DSUPPORT_SOUND_SB16 -DSUPPORT_FPU_DOSBOX -DSUPPORT_FPU_DOSBOX2 -DSUPPORT_FPU_SOFTFLOAT -DSUPPORT_FAST_MEMORYCHECK -DSUPPORT_ASYNC_CPU -DSUPPORT_RS232C_FIFO -DSUPPORT_PEGC -DSUPPORT_GPIB -DSUPPORT_PCI -DUSE_MMX -DUSE_3DNOW -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_TSC -DUSE_FASTPAGING -DUSE_VME -DBIOS_IO_EMULATION
# -DSUPPORT_SMPU98 -DSUPPORT_NVL_IMAGES
-ifneq ($(platform), emscripten)
+SUPPORT_NP2_THREAD=1
+ifeq ($(platform), emscripten)
+ SUPPORT_NP2_THREAD=0
+endif
+ifeq ($(platform), psp1)
+ SUPPORT_NP2_THREAD=0
+endif
+ifeq ($(SUPPORT_NP2_THREAD), 1)
DEFINES += -DSUPPORT_NP2_THREAD
endif
