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

Add NO_VERIFY switch - considerable FPS increase

parent 5713fd44
......@@ -5,6 +5,7 @@ HAVE_CORE := 0
NO_THREADS := 1
NO_EXCEPTIONS := 0
NO_NVMEM := 0
NO_VERIFY := 1
NAOMI := 0
TARGET_NAME := reicast
......@@ -88,6 +89,12 @@ CORE_DIR := core
DYNAREC_USED = 0
ifeq ($(NO_VERIFY),1)
CFLAGS += -DNO_VERIFY
CXXFLAGS += -DNO_VERIFY
RZDCY_CFLAGS += -DNO_VERIFY
endif
ifeq ($(NAOMI),1)
CFLAGS += -DTARGET_NAOMI
CXXFLAGS += -DTARGET_NAOMI
......
......@@ -507,7 +507,11 @@ void os_DebugBreak(void);
#endif
#ifndef STRIP_TEXT
#ifdef NO_VERIFY
#define verify(x) if(!(x)) { dbgbreak; }
#else
#define verify(x) if((x)==false){ msgboxf("Verify Failed : " #x "\n in %s -> %s : %d \n",MBX_ICONERROR,(__FUNCTION__),(__FILE__),__LINE__); dbgbreak;}
#endif
#define die(reason) { msgboxf("Fatal error : %s\n in %s -> %s : %d \n",MBX_ICONERROR,(reason),(__FUNCTION__),(__FILE__),__LINE__); dbgbreak;}
#else
#define verify(x) if((x)==false) { dbgbreak; }
......
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