Commit b13e7612 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Add NO_THREADS switch

parent e085e5e2
......@@ -169,6 +169,7 @@ void retro_reset (void)
#if defined(GL) || defined(GLES)
static void context_reset(void)
{
printf("context_reset.\n");
rglgen_resolve_symbols(hw_render.get_proc_address);
}
......
......@@ -4,9 +4,10 @@ CC_AS ?= $(CC)
STRIP = ${CC_PREFIX}strip
LD = ${CC}
DEBUG := 0
NO_REND := 1
HAVE_GL := 0
DEBUG := 0
NO_REND := 1
HAVE_GL := 0
NO_THREADS := 0
TARGET_NAME := reicast
......@@ -152,6 +153,12 @@ else
RZDCY_CFLAGS += -DTARGET_LINUX_x86
endif
ifdef NO_THREADS
RZDCY_CFLAGS += -DTARGET_NO_THREADS
CFLAGS += -DTARGET_NO_THREADS
CXXFLAGS += -DTARGET_NO_THREADS
endif
ifdef NO_REC
RZDCY_CFLAGS += -DTARGET_NO_REC
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment